Previous Next

Thread: 'Deadlock detected'.

Last post 04-05-2008 6:58 AM by PawelPabich. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 03-17-2008, 11:44 AM

    • shouston
    • Not Ranked
    • Joined on 01-10-2008, 7:44 PM
    • Posts 5

    'Deadlock detected'.

    Running IIS in 32 bit mode on Server 2003 Std x64. IIS crashed with the following error: ISAPI 'C:\WINDOWS\microsoft.net\Framework\v2.0.50727\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'. Any ideas what to look for causing this would be greatly appreciated. Thanks!
  • 03-18-2008, 2:23 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 1,236

    Re: 'Deadlock detected'.

    You can configure the application pool to orphan the worker process rather than kill it when this condition happens - you can then use adplus to collect a hang dump of the worker process which can be analyzed to figure out what in the process is deadlocked.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-04-2008, 11:10 AM In reply to

    Re: 'Deadlock detected'.

    Is there any document that describes what ASP.NET means by " reported itself as unhealthy for the following reason: 'Deadlock detected'"? I would like to know how it decides if it's dead locked or not?

     

    thanks

     

    Pawel

  • 04-04-2008, 5:26 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 1,236

    Re: 'Deadlock detected'.

    It means that the asp.net thrads have not returned from whatever activity they were doing for a very long time and asp.net has run out of threads - this would normally indicate deadlock. This kb also talks about how to generate dumps for analysis for this condition.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-05-2008, 6:58 AM In reply to

    Re: 'Deadlock detected'.

    Thanks for quick response. What do you mean by very long time, is is configured somewhere?

    I've tried before  the article you mentioned but IIS recycled the process and didn't create any dump. I suppose my only option is to run adplus in crash mode even though it affects performance. Do you have any other ideas where to look to find more information?

Page 1 of 1 (5 items)
Page view counter