回收 IIS7 应用程序池是否会终止任何当前正在执行的请求?还是等待所有请求完成(如排水管停止)?
我不希望回收规则导致我的 WCF 站点出现间歇性错误。
谢谢
最佳答案
不。
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.
这是来自 Documentation对于 IIS6,我确定它适用于 IIS7。
如果您的 Web 服务请求长时间运行,您可以考虑增加关闭超时。
关于wcf - 回收 IIS7 应用程序池是否会终止任何当前正在执行的请求?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5630420/