ASP.Net httpruntime executionTimeout not working (and yes debug=false)

前端 未结 3 1155
无人共我
无人共我 2020-12-09 09:22

We just recently noticed that executionTimeout has stopped working on our website. It was definitely working ~last year ... hard to say when it stopped.

We are curr

3条回答
  •  时光取名叫无心
    2020-12-09 09:33

    Execution timeout and time-taken time two different things. Although, the size of the discrepancy is troubling.

    time-taken includes all of the network time in the request/response (under certain conditions.). The network transfer time easily outstrips the amount of time a request really takes. Though, normally, I'm used to just seconds of difference not minutes.

    Execution timeout refers only to the amount of time the worker process spent processing the request; which is just a subset of time-taken. It only applies if the debug attribute is set to false; which it looks like you have.

    Of course, assuming the first request you listed took the full 90 seconds of allowed time out, that still leaves 13.5 minutes left in the time-taken window to transfer essentially 24k of data. That sounds like a serious network issue.

    So, either you have a serious transport issue or there is another web.config file somewhere in the tree where the requests are being processed that either sets debug to true or increases the execution timeout to something astronomical.

    Another possibility is that the page itself has either the debug attribute set or it's own timeout values.

提交回复
热议问题