重置 asp“Windows 服务”的替代方法每隔几天
我的一个网站位于共享主机上,每隔几天该网站就会停止工作。 页面将停止加载。
联系我的主机后,他们建议我禁用/重新启用他们的主机 每次发生这种情况时,管理工具都会为我的站点提供 Windows 服务。 在他们网站的列表中,我有:ASP、ASP.net 和另外 2 个我不需要的。 当我禁用并立即重新启用 2 个 asp 服务时,网站确实启动 立即再次工作。
我的印象是这可能是由于错误的配置造成的 我的域正在使用的应用程序池,但他们拒绝提供详细信息。不 自动回收也许?
除了更换主机,您对这个问题还有什么建议吗? 您是否像我一样认为这是应用程序池设置问题,或者您还有其他问题吗? 知道还有什么可能导致此问题和/或永久解决方案的想法吗?
谢谢。
One of my site is on a shared hosting and every few days the site will stop working.
The pages will simply stop loading.
After contacting my host they suggested that I disable/re-enable from their hosting
management tool the windows services for my site every time this happens.
In the list on their website I have: ASP, ASP.net and 2 other that I don't need.
When I disable and than immediately re-enable the 2 asp services the site does start
working again right away.
I'm under the impression that this is a probably due to a wrong configuration of the
application pool my domain is using but they're refusing to give details. No
automatic recycle maybe?
Beside changing host, do you have any suggestion about this problem?
Do you believe it's an app pool setup issue like I do or do you have any other
idea on what else could be causing this issue and/or ideas for a permanent solution?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为你的代码有问题。我曾经在我的网络主机上遇到过类似的问题,后来发现该应用程序由于某些资源被打开但从未关闭而导致内存泄漏。我建议你多检查一下代码。
I think there is something wrong with your code. I once ran into a similar issue with my web host and found out later that the app was leaking memory due to some resources that were opened and never closed. I suggest you inspect the code a bit more.