IIS 6 Server AppPool Recycling

时光毁灭记忆、已成空白 提交于 2019-12-11 11:14:31

问题


I am trying to turn the logs on for IIS 6, because I want to know if my workers are recycling too fast due to an error. Our application keeps getting a reset connection when running a ton of queries from our app.

How do I get more info on logs and stuff?


回答1:


Chris - I'm working on a similar problem as I'm writing some code to recycle app pools in both IIS6 and IIS7+. Just came across this article. Hope it helps.

How to Configure Application Pool Recycle Event Logging in IIS 6.0

This command, from that article, worked like a charm:

c:\cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs set w3svc/AppPools/LogEventOnRecycle 255



来源:https://stackoverflow.com/questions/11003105/iis-6-server-apppool-recycling

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!