IIS hangs on ExecuteRequestHandler
I am facing a problem with IIS.
The problem is this:
- Sometimes (intermittent issue) IIS hangs a request in a named state
ExecuteRequestHandler
and it wastes ~ 85% of the time.
I couldn't figure out why. Tried everything I found on the forums, nothing helped. I am using azure for my backend server and another azure server. I have my database.
Can someone please explain what exactly this ExecuteRequestHandler step enters the request lifecycle?
I haven't found a good explanation of what this step does. Is my code already running or is it a pre-lifecycle task? The reason I am asking is that it can determine where the problem is.
source to share
This is when the application code is executed.
When it receives a request, the IIS creates an object IRequest
to represent it, and creates for him IHttpHandler
an exact grade depending on the technology ( DefaultHttpHandler
, MvcHandler
, ...).
There are many steps to fully processing a request, the main one being the method HttpApplication.CallHandlerExecutionStep.Execute
that calls ProcessRequest
in IHttpHandler
.
source to share