Search code examples
asp.netiisektron

How to prevent long running requests in an IIS worker process?


enter image description here

In the screenshot above, you can see there were two requests open for a worker process for over 7 hours.

Is there a setting somewhere in IIS that can automatically kill requests over a certain duration? Clearly there is a bug on a page somewhere but as a stopgap we'd like to stop these requests from lasting this long.


Solution

  • I believe that if you have

    compilation debug="true"

    in your web.config the timeout does not apply.