保持 asp.net mvc 站点 IIS6 始终准备好接受请求

发布于 2024-09-04 20:04:50 字数 330 浏览 3 评论 0原文

我有一个部署到 IIS6 的 asp.net mvc Intranet 站点。网站很少使用,因此应用程序池往往会关闭。当用户第一次单击该页面时,会经过 5-10 秒直到页面出现(应用程序池启动并编译网站)。下一页的情况会重复,依此类推。 AFAIK IIS7 具有禁用应用程序池关闭的选项,但 IIS6 缺少该选项。

现在,我有一个特殊的实用程序,可以定期 ping 网站(10 个页面),以确定页面是否可用,并以这种方式使网站始终为用户做好准备。

这是正常现象还是我在 IIS6 配置中遗漏了某些内容?如果站点不可用,您是否在生产中使用此类 pinger 应用程序来通知支持/管理员?

先感谢您!

I have asp.net mvc intranet site that is deployed to IIS6. Site is used rarely so app pool tends to shutdown. When user click the page for the very first time 5-10 seconds are passed till page appears (app pool started and site is compiled). Situation repeats for the next page and so on. AFAIK IIS7 has option to disable App pool shutdown but IIS6 lacks it.

Nowadays i have special utility that pings site periodically (10 pages) in order to determine if pages are available and keeps site always ready for users this way.

Is it normal or may be I've missed something in IIS6 configuration? Do you use such pinger apps in production to notify support/admins if site is not available?

Thank you in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

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