- Total Members: 220,025
- Threads: 525,387
- Posts: 976,997
-
June 18th, 2010, 09:12 AM
#1
W3wp.exe crashing a lot
hey there
i've been getting a lot of w3wp.exe crashes - literally almost every hour or so
it spikes out the cpu at 100% then died, managed to get a dump file
which goes on about
Detected possible blocking or leaked critical section at webengine!g_AppDomainLock owned by thread 21 in w3wp.exe__dt__PID__3656__Date__06_18_2010__Time_01 _54_50PM__500__IIS_COM+ Hang Dump.dmp
Impact of this lock
39.13% of threads blocked
(Threads 20 27 28 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45)
The following functions are trying to enter this critical section
webengine!GetAppDomain+c9
The following module(s) are involved with this critical section
\\?\C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ webengine.dll from Microsoft Corporation
if i look at any of them they all point back to thread 21 which is the following
Thread 21 - System ID 3820
Entry point mscorwks!ThreadpoolMgr::intermediateThreadProc
Create time 18/06/2010 13:54:30
Time spent in user mode 0 Days 00:00:00.046
Time spent in kernel mode 0 Days 00:00:00.046
This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.
Function Source
ntdll!KiFastSystemCallRet
ntdll!ZwClose+c
kernel32!CloseHandle+59
mscorwks!CAssemblyStream::Commit+30
mscorwks!CopyAssemblyFile+f3
mscorwks!CAsmDownloadMgr::CreateAssembly+80d
mscorwks!CAsmDownloadMgr:
oSetupPushToCache+50
mscorwks!CAsmDownloadMgr:
oSetup+2e9
mscorwks!CAssemblyDownload:
oSetup+7b
mscorwks!CAssemblyDownload:
ownloadComplete+b6
mscorwks!CAssemblyDownload::KickOffDownload+1cf
mscorwks!CAssemblyName::BindToObject+568
mscorwks!FusionBind::RemoteLoad+14d
mscorwks!FusionBind::LoadAssembly+127
mscorwks!AssemblySpec::FindAssemblyFile+dc
mscorwks!AppDomain::BindAssemblySpec+18d
mscorwks!AssemblySpec::LoadDomainAssembly+114
mscorwks!AssemblySpec::LoadAssembly+1d
mscorwks!AssemblyNative::Load+240
mscorlib_ni+23110c
mscorlib_ni+22fb20
mscorlib_ni+22fcef
mscorlib_ni+21360d
System_Web_ni+9c0861
System_Web_ni+140a10
System_Web_ni+15c13d
System_Web_ni+13ba81
System_Web_ni+13a8bc
mscorwks!CallDescrWorker+33
mscorwks!CallDescrWorkerWithHandler+a3
mscorwks!DispatchCallBody+1e
mscorwks!DispatchCallDebuggerWrapper+3d
mscorwks!DispatchCall+b3
mscorwks!CrossDomainChannel::MarshalAndCall_Wrappe r+4b7
mscorwks!MarshalAndCall_Wrapper2+f
mscorwks!MakeCallWithAppDomainTransition+bc
mscorwks!CrossDomainChannel::MarshalAndCall+7a9
mscorwks!CrossDomainChannel::ExecuteCrossDomainCal l+7d
mscorwks!CrossDomainChannel::CheckCrossDomainCall+ e2
mscorwks!CTPMethodTable::OnCall+a6
0x01e3236d
System_Web_ni+13a109
System_Web_ni+139d1f
System_Web_ni+139bed
System_Web_ni+139b3a
System_Web_ni+139822
mscorwks!COMToCLRWorkerBody+1de
mscorwks!COMToCLRWorkerDebuggerWrapper+37
mscorwks!COMToCLRWorker+157
0x0202a2be
webengine!GetAppDomain+168
webengine!HttpCompletion::ProcessRequestInManagedC ode+17d
webengine!HttpCompletion::ProcessCompletion+48
webengine!CorThreadPoolWorkitemCallback+1a
mscorwks!UnManagedPerAppDomainTPCount:
ispatchWorkItem+9a
mscorwks!ThreadpoolMgr::ExecuteWorkRequest+af
mscorwks!ThreadpoolMgr::WorkerThreadStart+20b
mscorwks!ThreadpoolMgr::intermediateThreadProc+49
kernel32!BaseThreadStart+34
has anyone ever had this before? have any idea how i can fix it, looked back through the event viewer history and it's happened a lot in the past just we've only just started noticing it.
any ideas would be appreciated, i can post a full dump file if needed
-
June 28th, 2010, 03:22 AM
#2
happened to me once when ASP.NET and Java clashed together, creating deadlock.
is there any Java involved? any JSP files on your server or Java installed?
-
June 1st, 2011, 09:24 PM
#3
I was having a similar problem. One of my websites was randomly shutting down due to the application pool crashing in rapid succession. Turns out I had two functions that were stuck in a loop. I had to use WinDbg to view my crash dump files.
google for "Debugging Faulting Application w3wp.exe Crashes"
-
February 9th, 2012, 08:46 AM
#4
Non-system processes like w3wp.exe originate from software you installed on your system. As most applications store data in your system's registry, it is likely that your registry has suffered fragmentation and accumulated harmful errors.
-
February 9th, 2012, 09:15 AM
#5

Originally Posted by
jakson0100
Non-system processes like w3wp.exe originate from software you installed on your system. As most applications store data in your system's registry, it is likely that your registry has suffered fragmentation and accumulated harmful errors.
The `w3wp.exe` process is not "simple" software, it's the main process of ASP.NET web application. On some operating system it's already installed by default as far as I know.
Similar Threads
-
By su_jumptd in forum Microsoft IIS
Replies: 13
Last Post: April 10th, 2007, 05:49 PM
-
By redclay in forum Microsoft IIS
Replies: 1
Last Post: August 30th, 2006, 08:28 PM
-
By RSS_News_User in forum Science News
Replies: 0
Last Post: August 4th, 2006, 06:03 AM
-
By bdhtexas in forum Microsoft IIS
Replies: 1
Last Post: February 24th, 2005, 12:01 AM
-
By VinnieT in forum Windows OS
Replies: 1
Last Post: December 23rd, 2004, 11:53 AM