简体   繁体   English

回收IIS7应用程序池是否会终止当前正在执行的任何请求?

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

Does recycling the IIS7 application pool kill any currently executing requests? 回收IIS7应用程序池是否会终止当前正在执行的任何请求? Or does it wait for all requests to complete (like a drain-stop)? 还是等待所有请求完成(如排水停止)?

I don't want the recycling rules to cause intermittent errors from my WCF sites. 我不希望回收规则导致我的WCF站点出现间歇性错误。

Thanks 谢谢

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. 默认情况下,WWW服务建立重叠的回收,在该回收中,要终止的工作进程将一直运行,直到启动新的工作进程。

This is from the Documentation for IIS6 and I am sure it applies for IIS7. 这是来自IIS6的文档 ,我相信它适用于IIS7。

If your web service requests are long-running, you might consider increasing the shutdown timeout. 如果Web服务请求长时间运行,您可以考虑增加关闭超时。

Yes. 是。 Recycling an application pool causes the WWW service to shut down all running worker processes that are serving the application pool, and then start new worker processes. 回收应用程序池会导致WWW服务关闭为应用程序池提供服务的所有正在运行的工作进程,然后启动新的工作进程。

This is from the Documentation for IIS6 and I am sure it applies for IIS7 这是来自IIS6的文档 ,我相信它适用于IIS7

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM