Server Specs: IIS 7.5, Windows Server 2008 R2 (Version 6.1), ASP.NET 4.5 Runtime
We are having issues with hanging requests. When we poll the iis server for long running requests, we see the following results below.
REQUEST "6600000080001fd7" (url:GET /, time:180821 msec, client:10.2.2.7, stage:AcquireRequestState, module:Session)
REQUEST "81000000800034da" (url:POST /url1.aspx, time:8101709 msec, client:10.2.2.7, stage:AcquireRequestState, module:Session)
REQUEST "d600000080001e84" (url:POST /url2.aspx, time:8095609 msec, client:10.2.2.7, stage:AcquireRequestState, module:Session)
REQUEST "c800000080001d31" (url:POST /url3.aspx, time:7494459 msec, client:10.2.2.7, stage:AcquireRequestState, module:Session)
REQUEST "8700000080001e69" (url:GET /url4.aspx, time:7474179 msec, client:10.2.2.7, stage:AcquireRequestState, module:Session)
REQUEST "ac00000080001ddd" (url:GET /url5.aspx, time:7472338 msec, client:10.2.2.7, stage:AcquireRequestState, module:Session)
These hung requests happen 10-100 times per day on our app. It started happening after a major app rev which had many page updates. We upgraded the framework from 4.0 to 4.5 as well.
How do I further debug or prevent requests from hanging?
User perspective
For the user, they make a request, and it never comes back. Since the requests are session stacked, their application freezes and they must clear their cookies before they can access the application again.
Additional Info.
We are using a seperate state server for session management. Specs Windows server 2008 R2 with asp.net runtime 4.5.