频发的W3SVC错误解决方法

 

最近应用服务器频发W3SVC错误,大致描述如下:

 

为应用程序池‘XXX’提供服务的进程在与World Wide Web Publishing服务通信时遇到致使错误。进程ID为‘XXXX’。数据字段包含错误号。

 

 

以下引用的段落中已详细包含了错误原因和解决方法。

 

CAUSE

Timeout waiting for server response or The connection to the server was lost.


DESCRIPTION

The Error means The connection with the server has been terminated.


WORKAROUND:

If you check out the C:/Windows/system32/LogFiles/HTTPERR/httperr*.log files on the distribution server, you'll likely see either Timer_MinBytesPerSecond errors or Timer_ConnectionIdle errors. These are caused by IIS default settings, contained within its metabase, which define the minimum traffic flow rate for a connection to be kept alive and the maximum idle time allowed before a connection is dropped. For some reason, SUS servers seem to take their good old time while downloading updates, and these parameters are exceeded and the distribution server drops 'em.


1) From IIS Manager, right click on the Internet Information Server (IIS) Manager root level folder and go to Properties. Check the box to enable direct metabase editing. Click OK.

2) Open the C:/Windows/system32/inetsrv/MetaBase.xml file in Notepad. Do a search for "MinFileBytesPerSec". Change the setting for MinFileBytesPerSec from 240 to 0. Do another search, this time for "ConnectionTimeout" to be 600. Save changes and exit.

3) Restart the IIS Admin service to effect the changes.

你可能感兴趣的:(Windows/.NET)