IIS Deadlock Issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?TUt1YmljaW5h?=

    #1

    IIS Deadlock Issue

    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\Mic rosoft.NET\Fram ework\v2.0.5072 7\aspnet_isapi. dll'
    reported itself as unhealthy for the following reason: 'Deadlock detected'.

  • tiago.halm@gmail.com

    #2
    Re: IIS Deadlock Issue

    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:
    .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

    Comment

    Working...