Our client web application runs suddenly at random intervals. For each restart, we found this entry in the Windows event log:
Event Type: Warning Event Source: W3SVC-WP Event Category: None Event ID: 2262 Date: 2/21/2010 Time: 1:33:52 PM User: N/A Computer: LIQUID-NXCFZ9DJ Description: ISAPI 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'.
This happened 10 times in 3 weeks, several of them were 2 or 3 times in a few hours, and also after a week without doing this.
In the crash dump that we have, maybe 70-80 client connections, for example:
GET request for <path here> Mapped To URL <mapped path> HTTP Version HTTP/1.1 SSL Request False Time alive 00:55:24 QueryString <query string here> Request mapped to HTTP Request State HTR_READING_CLIENT_REQUEST Native Request State NREQ_STATE_PROCESS
(this is 55 minutes !!! there is no reason why the client connection should be so long)
Corresponding entries in the machine.config file:
<system.net> <connectionManagement> <add address="*" maxconnection="200" /> </connectionManagement> </system.net>
and (inside):
<deployment retail="true" /> <processModel autoConfig="true" memoryLimit="60" maxIoThreads="200" minIoThreads="30" minWorkerThreads="40" maxWorkerThreads="200" clientConnectedCheck="00:00:05" /> <httpRuntime minFreeThreads="20" minLocalRequestFreeThreads="10" enableKernelOutputCache="false" maxRequestLength="10240" />
Recently, we were able to look at it the way it was now, and looked at about 20 requests in the suspended state on Sql Server. It seems that they were all associated with the same table (the Items table, very central to many different operations).
We were not sure what was best done in the middle of the problem. When the failure occurred, Sql Server cleared.
Any guidance on what is happening or how to find out what is going on will be greatly appreciated.