IIS 6.0回收重叠延迟

发布于 2024-08-01 19:24:08 字数 206 浏览 5 评论 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

天荒地未老 2024-08-08 19:24:08

我认为您不能指定重叠。

您可以配置回收仅在特定时间发生,例如凌晨 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.

小草泠泠 2024-08-08 19:24:08

此链接 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文