IIS 6.0回收重叠延迟
是否可以在重叠 iis 6.0 回收中添加延迟? 例如,即使新应用程序池处于活动状态并正在处理请求,iis 也不会关闭旧池 2 小时。 有时我会收到一个长时间运行的请求。
我认为“关闭时间限制”属性是正确的,但事实并非如此。 大约一分钟后,IIS 仍然关闭旧池,并且我收到错误:System.Threading.ThreadAbortException:线程被中止。
Is it possible to add delay in overlapping iis 6.0 recycling? for example iis does not shutdown the old pool for 2 hours even the new app pool is live and processing requests. I`ve got sometimes a long running request.
I thought that 'shutdown time limit' property is right one for that but it`s not. IIS is still shutdown the old pool after about a minute and i recieve an error: System.Threading.ThreadAbortException: Thread was being aborted.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为您不能指定重叠。
您可以配置回收仅在特定时间发生,例如凌晨 2 点,当没有用户使用系统时。
如果您有一个进程在内存中存活 2 小时,您可能应该将信息写入磁盘,以便该进程可以在服务失败的情况下从中断处开始。
I don't think that you can specify an overlap.
You can configure that recycling will only happen at a specific time, for example 2 a.m when no users are using the system.
If you have a process that lives in memory for 2 hours, you should probably write info to disk, such that the process can start where it left off, in case the services fails.
此链接 http://technet.microsoft.com/en -us/library/cc759201(WS.10).aspx
明确指出:
在这两种类型的回收中,WWW 服务都会允许旧工作进程在配置的时间内处理它在自行关闭之前从 HTTP.sys 获取的请求。
this link http://technet.microsoft.com/en-us/library/cc759201(WS.10).aspx
clearly states:
In both types of recycling, the WWW service allows a configured amount of time for the old worker process to handle the requests that it has already taken from HTTP.sys before it shuts itself down.