June 18th, 2010, 09:12 AM
W3wp.exe crashing a lot
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
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.
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
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?
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
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
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.
Originally Posted by jakson0100