HighTechTalks DotNet Forums  

IIS Deadlock Issue

Dotnet Framework (Webservices) microsoft.public.dotnet.framework.webservices


Discuss IIS Deadlock Issue in the Dotnet Framework (Webservices) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
MKubicina
 
Posts: n/a

Default IIS Deadlock Issue - 12-12-2007 , 12:00 PM






We’re continuing having a problem with a production application. The
application uses ASP.NET web services and about once a day, the web services
stop responding. The only resolution is to restart IIS or wait until IIS
detects that there is a deadlock issue and resets itself. We are constantly
seeing an event show in the event log. After this event appears, IIS resets
itself and starts working again. The event is below.

Can anyone help me troubleshoot this issue?

Event Details
Event Type: Warning
Event Source: W3SVC-WP
Event Category: None
Event ID: 2262
Date: 12/12/2007
Time: 9:43:23 AM
User: N/A
Computer: FDYRS946
Description:
ISAPI 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\asp net_isapi.dll'
reported itself as unhealthy for the following reason: 'Deadlock detected'.


Reply With Quote
  #2  
Old   
tiago.halm@gmail.com
 
Posts: n/a

Default Re: IIS Deadlock Issue - 12-12-2007 , 12:39 PM






When the web service deadlocks (hangs) run iisdump.exe.
After the dump finishes, run windbg.exe (get the latest version), load
the dump file and inside windbg do:

Quote:
.loadby sos mscorwks
.sympath SRV*c:\Symbols*http://msdl.microsoft.com/download/symbols
.reload
~*e !clrstack
the "~*e !clrstack" command gives you the stack of the all the managed
threads and should help you to see where the deadlock is taking place.

Other instructions you may want to follow (where the scenario is
similar to yours) are available here:
http://blogs.msdn.com/carloc/archive...means-hot.aspx

hope it helps,
Tiago Halm


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.