如何克服 IIS 7 中具有多个应用程序池的应用程序加载缓慢的问题?

发布于 2024-07-23 22:40:32 字数 112 浏览 8 评论 0原文

如何克服 IIS 7 中具有多个应用程序池的应用程序加载缓慢的问题? 并且不会让请求等待服务器加载(在回收的情况下)并创建队列。 但在第一个请求到达之前,在达到回收条件时加载服务器。 谢谢, 奥什拉特。

How can I overcome a slow loading application with several app pools in IIS 7 ?
And not have requests wait for the server to load (in case of recycling) and create a queue. But have the server loaded while hitting recycle condition before the first requests arrives.
Thanks,
Oshrat.

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

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

发布评论

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

评论(1

软的没边 2024-07-30 22:40:32

您确定加载缓慢不是等待原始池完成的结果吗? 如果应用程序池打开了“禁用重叠回收”设置,则可能会发生这种情况。

当收到第一个请求时,应用程序将加载其初始状态。 因此,您可以考虑使用一个小工具,其作用是在真实用户尝试使用应用程序之前对应用程序执行 ping 操作以使其启动。

Are you sure the slow load isn't a result of waiting for the original pool to complete? This can happen if the app pool has the "Disable Overlapped Recycle" setting turned on.

Applications will load their initial state when the get the first request. Hence you could consider having a little tool whose job it is to ping the application to get it to start before a real user attempts to use it.

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