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

标签 wcf iis-7 windows-server-2008 application-pool recycle

回收 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/

相关文章:

xml - XML文件输入映射/减少Hadoop Windows Server

dll - ActiveX组件无法创建对象

.net - 从 Silverlight 调用 WCF 服务 : Somewhere my parameters are disappearing

c# - 在 Windows 应用商店应用程序中使用 Azure 表存储的最佳实践是什么?

c# - 如何在返回的类上实现接口(interface)并保留其数据?

sql-server - 如何最好地卸载数据库插入,以便更快地返回 Web 响应?

windows - 在 Server 2008 Powershell 中提取给定路由的网关地址

c# - WCF 试图公开一个 nettcp 端点; TCP 错误代码 10061 : No connection could be made because the target machine actively refused it

visual-studio-2008 - IIS7 的工作进程是什么?

asp.net - IIS 和 ASP.NET 锁定我的 PInvoke dll