1. Disable the IIS httprerr log function
By default, the 2003 server writes all IIS Access Error records to the log files in C:/Windows/system32/logfiles/httperr. If the access volume is large, after a period of time, the log file may occupy the space on the drive C, causing the server to crash.
At the same time, because all IIS access records need to be written, if the access traffic is large enough, the server CPU usage will be greatly increased.
How to disable httperr
Enter Regedit to enter Registry Editor
[HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/HTTP/parameters]
Right-click on the right and choose create DWORD Value enableerrorlogging to restart the server.
"Enableerrorlogging" = DWORD: 00000000.
After the restart, 2003 will not be written into the httperr log file. You can see that the server CPU usage is significantly reduced!
2. Modifying the storage directory is also a good solution.
Search:
HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/HTTP/parameters
Create a string value below, that is, REG_SZ
The Value Name Is errorloggingdir.
Numeric data specifies the path for you, such as D:/logofilse
From: http://article.01hr.com/wenzhang/459710.htm