#1
  1. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Jun 2010
    Posts
    1
    Rep Power
    0

    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
  2. #2
  3. Moderator From Beyond
    ASP Mastermind (5000+ posts)

    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,126
    Rep Power
    2921
    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?
  4. #3
  5. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Jun 2011
    Posts
    1
    Rep Power
    0
    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"
  6. #4
  7. No Profile Picture
    Permanently Banned
    ASP Discoverer (100 - 499 posts)

    Join Date
    May 2011
    Posts
    120
    Rep Power
    0
    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.
  8. #5
  9. Moderator From Beyond
    ASP Mastermind (5000+ posts)

    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,126
    Rep Power
    2921
    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

  1. W3wp.exe Error/possibly IIS??
    By su_jumptd in forum Microsoft IIS
    Replies: 13
    Last Post: April 10th, 2007, 05:49 PM
  2. IIS Crashing
    By redclay in forum Microsoft IIS
    Replies: 1
    Last Post: August 30th, 2006, 08:28 PM
  3. Replies: 0
    Last Post: August 4th, 2006, 06:03 AM
  4. Internet Explorer Crashing
    By bdhtexas in forum Microsoft IIS
    Replies: 1
    Last Post: February 24th, 2005, 12:01 AM
  5. Replies: 1
    Last Post: December 23rd, 2004, 11:53 AM

IMN logo majestic logo threadwatch logo seochat tools logo