IIS 6服务器AppPool回收 [英] IIS 6 Server AppPool Recycling
问题描述
我正在尝试为IIS 6打开日志,因为我想知道我的工作人员是否由于错误而回收太快。我们的应用程序在从我们的应用程序运行大量查询时不断获得重置连接。
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?
推荐答案
克里斯 - 我正在研究类似的问题,因为我正在编写一些代码来回收IIS6和IIS7 +中的应用程序池。刚刚看到这篇文章。希望它有所帮助。
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.
该文章中的命令就像一个魅力:
This command, from that article, worked like a charm:
c:\cscript%SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs设置w3svc / AppPools / LogEventOnRecycle 255
c:\cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs set w3svc/AppPools/LogEventOnRecycle 255
这篇关于IIS 6服务器AppPool回收的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!