Does recycling the IIS7 application pool kill any currently executing requests?

前端 未结 2 1393
情歌与酒
情歌与酒 2021-01-13 04:50

Does recycling the IIS7 application pool kill any currently executing requests? Or does it wait for all requests to complete (like a drain-stop)?

I don\'t want the r

2条回答
  •  盖世英雄少女心
    2021-01-13 05:27

    No.

    By default, the WWW service establishes an overlapped recycle, in which the worker process that is to be terminated is kept running until after a new worker process is started.

    This is from the Documentation for IIS6 and I am sure it applies for IIS7.

    If your web service requests are long-running, you might consider increasing the shutdown timeout.

提交回复
热议问题