Reputation: 111
On our server we have IIS 10.0
Application hosted is AP.Net MVC Framework 4.7.2
In worker process many times requests are stuck
Majority time stuck requests are with State - RequestAcquireState
And module name is Session
Many times it is making site slower.
To overcome from this we are restarting specific application and recycling app pool
But this chance we are not getting everytime.
Can somebody please help to understand and solve this issue without restarting service ?
Thanks a lot in advance !
Upvotes: 2
Views: 3710
Reputation: 7522
By default ASP.NET locks on session. All concurrent requests in Asp.net are controlled by the session management. As long as there is a request in ExecuteRequestHandler
that locks the session and thus all other subsequent requests will be locked.
Please refer to the following discussion for more details.
Requests hanging on Session module on IIS 7.5
https://weblogs.asp.net/imranbaloch/concurrent-requests-in-asp-net-mvc
Upvotes: 2