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!
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
Software Design Engineer
IIS Core Server
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?
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
Software Design Engineer
IIS Core Server
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?
shouston
6 Posts
'Deadlock detected'.
Mar 17, 2008 03:44 PM|LINK
anilr
2343 Posts
Microsoft
Re: 'Deadlock detected'.
Mar 18, 2008 06:23 PM|LINK
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.
Software Design Engineer
IIS Core Server
PawelPabich
4 Posts
Re: 'Deadlock detected'.
Apr 04, 2008 03:10 PM|LINK
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
anilr
2343 Posts
Microsoft
Re: 'Deadlock detected'.
Apr 04, 2008 09:26 PM|LINK
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.
Software Design Engineer
IIS Core Server
PawelPabich
4 Posts
Re: 'Deadlock detected'.
Apr 05, 2008 10:58 AM|LINK
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?