iis6 Application Pool crashes frequently

iis6 Application Pool crashes frequently

am 13.09.2007 14:33:24 von ManagedCoder

Hi,

I am using Windows Server 2003 SP2/ IIS 6.0 with about 30 Virtual
Directories (all configured to ASP.NET v1.1) under an application pool. This
application pool has started crashing frequently.
I am attaching the DumpDiag report - it seems to me that some of the ASP.NET
process is crashing - but how to I move fowards to determine what code/dll
etc is crashing IIS? Any help will be appriciated. Thanks.

Regards,
Shailesh

The Dump below.
Detected a serious critical section related problem in
w3wp.exe__ProductiveTeams__PID__2412__Date__09_13_2007__Time _05_54_36AM__703__IIS_COM+
Hang Dump.dmp

Lock at mscorsvr!CorMap::m_pCorMapCrst owned by thread 15 is Deadlocked with
lock at ntdll!LdrpLoaderLock owned by thread 16

Impact analysis
3.23% of threads blocked
(Threads 16)

The following functions are involved in the root cause
mscorsvr!EE_EnterCriticalSection+c
The following modules are involved in the root cause
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorsvr.dll from Microsoft
Corporation

w3wp.exe__ProductiveTeams__PID__2412__Date__09_13_2007__Time _05_54_36AM__703__IIS_COM+
Hang Dump.dmp
Type of Analysis Performed Hang Analysis
Machine Name PROD0
Operating System Windows Server 2003 Service Pack 2
Number Of Processors 4
Process ID 2412
Process Image c:\WINDOWS\system32\inetsrv\w3wp.exe
System Up-Time 1 day(s) 23:09:21
Process Up-Time 00:02:18


Top 5 Threads by CPU time
Note - Times include both user mode and kernel mode for each thread Thread
ID: 15 Total CPU Time: 00:00:01.077 Entry Point for Thread:
mscorsvr!ThreadpoolMgr::intermediateThreadProc
Thread ID: 16 Total CPU Time: 00:00:00.562 Entry Point for Thread:
mscorsvr!ThreadpoolMgr::intermediateThreadProc
Thread ID: 0 Total CPU Time: 00:00:00.155 Entry Point for Thread:
w3wp!wmainCRTStartup
Thread ID: 9 Total CPU Time: 00:00:00.015 Entry Point for Thread:
w3tp!THREAD_MANAGER::ThreadManagerThread
Thread ID: 5 Total CPU Time: 00:00:00.00 Entry Point for Thread:
ole32!CRpcThreadCache::RpcWorkerThreadEntry

Locked critical section report
Critical Section mscorsvr!CorMap::m_pCorMapCrst
Lock State Deadlocked
Lock Count 1
Recursion Count 1
Entry Count 0
Contention Count 13
Spin Count 0
Owner Thread 15
Owner Thread System ID 4328


Critical Section ntdll!LdrpLoaderLock
Lock State Deadlocked
Lock Count 7
Recursion Count 2
Entry Count 0
Contention Count 51
Spin Count 0
Owner Thread 16
Owner Thread System ID 3776



Thread report

Thread 0 - System ID 4400
Entry point w3wp!wmainCRTStartup
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.109
Time spent in kernel mode 0 Days 00:00:00.046


Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
w3dt!WP_CONTEXT::RunMainThreadLoop+10
w3dt!UlAtqStartListen+2d
w3core!W3_SERVER::StartListen+bd
w3core!UlW3Start+26e
w3wp!wmain+22a
w3wp!wmainCRTStartup+12f
kernel32!BaseProcessStart+23




Back to Top


Thread 1 - System ID 632
Entry point ntdll!EtwpEventPump
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForMultipleObjects+c
ntdll!EtwpWaitForMultipleObjectsEx+f7
ntdll!EtwpEventPump+27f
kernel32!BaseThreadStart+34




Back to Top


Thread 2 - System ID 5928
Entry point ntdll!RtlpTimerThread
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtDelayExecution+c
ntdll!RtlpTimerThread+47
kernel32!BaseThreadStart+34




Back to Top


Thread 3 - System ID 2500
Entry point ntdll!RtlpWorkerThread
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!ZwRemoveIoCompletion+c
ntdll!RtlpWorkerThread+3d
kernel32!BaseThreadStart+34




Back to Top


Thread 4 - System ID 3708
Create time 12:00:00 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtReplyWaitReceivePortEx+c
rpcrt4!LRPC_ADDRESS::ReceiveLotsaCalls+198
rpcrt4!RecvLotsaCallsWrapper+d
rpcrt4!BaseCachedThreadRoutine+9d
rpcrt4!ThreadStartRoutine+1b
kernel32!BaseThreadStart+34




Back to Top


Thread 5 - System ID 5564
Entry point ole32!CRpcThreadCache::RpcWorkerThreadEntry
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
ole32!CRpcThread::WorkerLoop+a2
ole32!CRpcThreadCache::RpcWorkerThreadEntry+20
kernel32!BaseThreadStart+34




Back to Top


Thread 6 - System ID 300
Entry point w3tp!THREAD_MANAGER::ThreadManagerThread
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!ZwRemoveIoCompletion+c
kernel32!GetQueuedCompletionStatus+29
w3tp!THREAD_POOL_DATA::ThreadPoolThread+33
w3tp!THREAD_POOL_DATA::ThreadPoolThread+24
w3tp!THREAD_MANAGER::ThreadManagerThread+39
kernel32!BaseThreadStart+34




Back to Top


Thread 7 - System ID 4980
Entry point w3tp!THREAD_MANAGER::ThreadManagerThread
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!ZwRemoveIoCompletion+c
kernel32!GetQueuedCompletionStatus+29
w3tp!THREAD_POOL_DATA::ThreadPoolThread+33
w3tp!THREAD_POOL_DATA::ThreadPoolThread+24
w3tp!THREAD_MANAGER::ThreadManagerThread+39
kernel32!BaseThreadStart+34




Back to Top


Thread 8 - System ID 6116
Entry point w3tp!THREAD_MANAGER::ThreadManagerThread
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!ZwRemoveIoCompletion+c
kernel32!GetQueuedCompletionStatus+29
w3tp!THREAD_POOL_DATA::ThreadPoolThread+33
w3tp!THREAD_POOL_DATA::ThreadPoolThread+24
w3tp!THREAD_MANAGER::ThreadManagerThread+39
kernel32!BaseThreadStart+34




Back to Top


Thread 9 - System ID 3372
Entry point w3tp!THREAD_MANAGER::ThreadManagerThread
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.015




Function Source
ntdll!KiFastSystemCallRet
ntdll!ZwRemoveIoCompletion+c
kernel32!GetQueuedCompletionStatus+29
w3tp!THREAD_POOL_DATA::ThreadPoolThread+33
w3tp!THREAD_POOL_DATA::ThreadPoolThread+24
w3tp!THREAD_MANAGER::ThreadManagerThread+39
kernel32!BaseThreadStart+34




Back to Top


Thread 10 - System ID 960
Entry point ntdll!RtlpWaitThread
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForMultipleObjects+c
ntdll!RtlpWaitThread+161
kernel32!BaseThreadStart+34




Back to Top


Thread 11 - System ID 5544
Entry point w3core!HTTP_COMPRESSION::CompressionThread
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
w3core!HTTP_COMPRESSION::CompressionThread+126
kernel32!BaseThreadStart+34




Back to Top


Thread 12 - System ID 4716
Entry point rpcrt4!ThreadStartRoutine
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtReplyWaitReceivePortEx+c
rpcrt4!LRPC_ADDRESS::ReceiveLotsaCalls+198
rpcrt4!RecvLotsaCallsWrapper+d
rpcrt4!BaseCachedThreadRoutine+9d
rpcrt4!ThreadStartRoutine+1b
kernel32!BaseThreadStart+34




Back to Top


Thread 13 - System ID 3200
Entry point mscorsvr!ThreadpoolMgr::intermediateThreadProc
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!ZwRemoveIoCompletion+c
kernel32!GetQueuedCompletionStatus+29
mscorsvr!ThreadpoolMgr::CompletionPortThreadStart+49
mscorsvr!ThreadpoolMgr::intermediateThreadProc+44
kernel32!BaseThreadStart+34




Back to Top


Thread 14 - System ID 1136
Entry point mscorsvr!ThreadpoolMgr::GateThreadStart
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtDelayExecution+c
kernel32!SleepEx+68
kernel32!Sleep+f
mscorsvr!ThreadpoolMgr::GateThreadStart+54
kernel32!BaseThreadStart+34




Back to Top


Thread 15 - System ID 4328
Entry point mscorsvr!ThreadpoolMgr::intermediateThreadProc
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.890
Time spent in kernel mode 0 Days 00:00:00.187




This thread is waiting on critical section ntdll!LdrpLoaderLock owned by
thread 16.

Thread 16 in turn is deadlocked with another thread.





Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
ntdll!RtlpWaitOnCriticalSection+1a3
ntdll!RtlEnterCriticalSection+a8
ntdll!LdrUnloadDll+35
kernel32!FreeLibrary+41
mscorsvr!CorMap::ReleaseHandleResources+70
mscorsvr!CorMapInfo::Release+63
mscorsvr!CorMap::ReleaseHandle+e
mscorsvr!PEFile::~PEFile+37
mscorsvr!PEFile::`scalar deleting destructor'+b
mscorsvr!BaseDomain::LoadAssembly+28b
mscorsvr!AssemblySpec::LoadAssembly+4da
mscorsvr!AssemblyNative::Load+407
0x0204bc54
mscorsvr!PreStubWorker+42
0x1690559f
0x16904951
0x1688ba91
0x1688d556
0x1688b879
mscorsvr!ComCallMLStubCache::CompileMLStub+435




Back to Top


Thread 16 - System ID 3776
Entry point mscorsvr!ThreadpoolMgr::intermediateThreadProc
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.437
Time spent in kernel mode 0 Days 00:00:00.125




This thread is waiting on critical section mscorsvr!CorMap::m_pCorMapCrst
owned by thread 15.

Thread 15 in turn is deadlocked with another thread.





Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
ntdll!RtlpWaitOnCriticalSection+1a3
ntdll!RtlEnterCriticalSection+a8
mscorsvr!EE_EnterCriticalSection+c
mscorsvr!CorMap::Enter+13
mscorsvr!CorMap::OpenFile+73
mscorsvr!PEFile::Create+c3
mscorsvr!SystemDomain::LoadFile+184
mscorsvr!AssemblySpec::GetAssemblyFromFusion+630
mscorsvr!AssemblySpec::LowLevelLoadManifestFile+17d
mscorsvr!AppDomain::BindAssemblySpec+50
mscorsvr!Assembly::ComputeBindingDependenciesClosure+25a
mscorsvr!BaseDomain::CreateShareableAssemblyNoLock+7e
mscorsvr!BaseDomain::LoadAssembly+acd
mscorsvr!ExecuteDLL+281
mscoree!CorDllMainWorker+6c
mscoree!_CorDllMain+106
ntdll!LdrpCallInitRoutine+14
ntdll!LdrpRunInitializeRoutines+367
ntdll!LdrpLoadDll+3cd
ntdll!LdrLoadDll+198
kernel32!LoadLibraryExW+1b2
mscorsvr!WszLoadLibraryEx+5f
mscorsvr!CorMap::BaseAddress+8b
mscorsvr!PEFile::Setup+45
mscorsvr!PEFile::VerifyModule+195
mscorsvr!PEFile::Create+11a
mscorsvr!SystemDomain::LoadFile+184
mscorsvr!AssemblySpec::GetAssemblyFromFusion+630
mscorsvr!AssemblySpec::LowLevelLoadManifestFile+17d
mscorsvr!AppDomain::BindAssemblySpec+50
mscorsvr!AssemblySpec::LoadAssembly+98
mscorsvr!AssemblyNative::Load+407
0x0204bc54
mscorsvr!PreStubWorker+42
0x1690559f
0x16904951
0x1688ba91
0x1688d556
0x1688b879
mscorsvr!ComCallMLStubCache::CompileMLStub+435




Back to Top


Thread 17 - System ID 4104
Entry point mscorsvr!DebuggerRCThread::ThreadProcStatic
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForMultipleObjects+c
kernel32!WaitForMultipleObjectsEx+11a
kernel32!WaitForMultipleObjects+18
mscorsvr!DebuggerRCThread::MainLoop+90
mscorsvr!DebuggerRCThread::ThreadProc+68
mscorsvr!DebuggerRCThread::ThreadProcStatic+b
kernel32!BaseThreadStart+34




Back to Top


Thread 18 - System ID 328
Entry point mscorsvr!gc_heap::gc_thread_stub
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
mscorsvr!gc_heap::gc_thread_function+2f
mscorsvr!gc_heap::gc_thread_stub+1e
kernel32!BaseThreadStart+34




Back to Top


Thread 19 - System ID 5352
Entry point mscorsvr!gc_heap::gc_thread_stub
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
mscorsvr!gc_heap::gc_thread_function+2f
mscorsvr!gc_heap::gc_thread_stub+1e
kernel32!BaseThreadStart+34




Back to Top


Thread 20 - System ID 4396
Entry point mscorsvr!gc_heap::gc_thread_stub
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
mscorsvr!gc_heap::gc_thread_function+2f
mscorsvr!gc_heap::gc_thread_stub+1e
kernel32!BaseThreadStart+34




Back to Top


Thread 21 - System ID 5008
Entry point mscorsvr!gc_heap::gc_thread_stub
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
mscorsvr!gc_heap::gc_thread_function+2f
mscorsvr!gc_heap::gc_thread_stub+1e
kernel32!BaseThreadStart+34




Back to Top


Thread 22 - System ID 1368
Entry point mscorsvr!Thread::intermediateThreadProc
Create time 9/13/2007 5:52:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForMultipleObjects+c
kernel32!WaitForMultipleObjectsEx+11a
kernel32!WaitForMultipleObjects+18
mscorsvr!WaitForFinalizerEvent+5a
mscorsvr!GCHeap::FinalizerThreadStart+96
mscorsvr!Thread::intermediateThreadProc+44
kernel32!BaseThreadStart+34




Back to Top


Thread 23 - System ID 2156
Entry point mscorsvr!ThreadpoolMgr::TimerThreadStart
Create time 9/13/2007 5:52:19 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtDelayExecution+c
kernel32!SleepEx+68
mscorsvr!ThreadpoolMgr::TimerThreadStart+23
kernel32!BaseThreadStart+34




Back to Top


Thread 24 - System ID 3764
Entry point rpcrt4!ThreadStartRoutine
Create time 9/13/2007 5:52:19 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




Function Source
ntdll!KiFastSystemCallRet
ntdll!NtReplyWaitReceivePortEx+c
rpcrt4!LRPC_ADDRESS::ReceiveLotsaCalls+198
rpcrt4!RecvLotsaCallsWrapper+d
rpcrt4!BaseCachedThreadRoutine+9d
rpcrt4!ThreadStartRoutine+1b
kernel32!BaseThreadStart+34




Back to Top


Thread 25 - System ID 5588
Entry point 0xffffffff
Create time 9/13/2007 5:52:20 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




This thread is waiting on critical section ntdll!LdrpLoaderLock owned by
thread 16.

Thread 16 in turn is deadlocked with another thread.





Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
ntdll!RtlpWaitOnCriticalSection+1a3
ntdll!RtlEnterCriticalSection+a8
ntdll!LdrpInitializeThread+68
ntdll!_LdrpInitialize+16f
ntdll!KiUserApcDispatcher+25




Back to Top


Thread 26 - System ID 4468
Entry point 0xffffffff
Create time 9/13/2007 5:52:20 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




This thread is waiting on critical section ntdll!LdrpLoaderLock owned by
thread 16.

Thread 16 in turn is deadlocked with another thread.





Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
ntdll!RtlpWaitOnCriticalSection+1a3
ntdll!RtlEnterCriticalSection+a8
ntdll!LdrpInitializeThread+68
ntdll!_LdrpInitialize+16f
ntdll!KiUserApcDispatcher+25




Back to Top


Thread 27 - System ID 4112
Entry point 0xffffffff
Create time 9/13/2007 5:52:20 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




This thread is waiting on critical section ntdll!LdrpLoaderLock owned by
thread 16.

Thread 16 in turn is deadlocked with another thread.





Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
ntdll!RtlpWaitOnCriticalSection+1a3
ntdll!RtlEnterCriticalSection+a8
ntdll!LdrpInitializeThread+68
ntdll!_LdrpInitialize+16f
ntdll!KiUserApcDispatcher+25




Back to Top


Thread 28 - System ID 4372
Entry point 0xffffffff
Create time 9/13/2007 5:52:27 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




This thread is waiting on critical section ntdll!LdrpLoaderLock owned by
thread 16.

Thread 16 in turn is deadlocked with another thread.





Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
ntdll!RtlpWaitOnCriticalSection+1a3
ntdll!RtlEnterCriticalSection+a8
ntdll!LdrpInitializeThread+68
ntdll!_LdrpInitialize+16f
ntdll!KiUserApcDispatcher+25




Back to Top


Thread 29 - System ID 384
Entry point 0xffffffff
Create time 9/13/2007 5:53:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




This thread is waiting on critical section ntdll!LdrpLoaderLock owned by
thread 16.

Thread 16 in turn is deadlocked with another thread.





Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
ntdll!RtlpWaitOnCriticalSection+1a3
ntdll!RtlEnterCriticalSection+a8
ntdll!LdrpInitializeThread+68
ntdll!_LdrpInitialize+16f
ntdll!KiUserApcDispatcher+25




Back to Top


Thread 30 - System ID 6028
Entry point 0xffffffff
Create time 9/13/2007 5:54:18 AM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00




This thread is waiting on critical section ntdll!LdrpLoaderLock owned by
thread 16.

Thread 16 in turn is deadlocked with another thread.





Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
ntdll!RtlpWaitOnCriticalSection+1a3
ntdll!RtlEnterCriticalSection+a8
ntdll!LdrpInitializeThread+68
ntdll!_LdrpInitialize+16f
ntdll!KiUserApcDispatcher+25




Back to Top

HTTP report
IIS ATQ worker thread count 4 Thread(s)
Available ATQ worker thread count 4 Thread(s)
Active client connections 53 client connection(s)

Re: iis6 Application Pool crashes frequently

am 13.09.2007 15:20:58 von tiago.halm

Assuming you have access to the DMP file, download the "Debugging
Tools for Windows"
http://www.microsoft.com/whdc/devtools/debugging/installx86. mspx

Open WinDBG
Open the crash dump and then type:
> .loadby sos mscorwks
> ~*kb

This should give you a view of what all threads on the process were
doing when the crash occured.
There are other commands available on SOS, see here:
http://www.robherbst.com/blog/2006/12/10/windbg-tips/

To list the commands, type:
> !help

For help on a command (ex: clrstack), type:
> !help clrstack

SOS (Son Of Strike - The extension of .NEt for WinDbg) should give you
a better view of what the managed threads were doing when the crash
happened.

hope it helps

Tiago Halm
http://www.codeplex.com/filterdotnet
http://www.codeplex.com/iisshield

RE: iis6 Application Pool crashes frequently

am 17.09.2007 06:11:57 von wawang

Thanks Tiago for your informative input.

Hi Shailesh,

Please kindly note that crash dump issue is not supported by MSDN Managed
Newsgroup support service. Such issue is best handled by our Customter
Support Service. Thanks for your understanding.


Sincerely,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/postingAlias.aspx

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
see your reply promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.