Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Computer may hang if the maximum log file size is set incorrectly


View products that this article applies to.

Symptoms

When you reduce the Maximum log size setting for an event log in the log file's properties, the change does not take effect until you clear the log. If you do not clear the log after you make this change, the event log grows to the last set limit.

If you change the Maximum log size setting for each log file to a maximum setting of around 200 megabytes (MB) but you do not apply the changes correctly, the event log files may grow to be too large. The memory usage for the Services.exe process may become very large, leaving less available free memory. This may cause the computer to stop responding (hang).

↑ Back to the top


Cause

This problem is caused by a known design issue in Eventlog.dll. Eventlog.dll maps the whole event log file in process address space, which causes the working set size for the Services.exe process to grow by the size of the event log file that is mapped.

↑ Back to the top


Resolution

To resolve this issue, make sure you have applied the Maximum log size setting for event logs appropriately, and clear all the event logs to make the changes take effect.

If your server is currently not responding correctly because of this issue, try clearing all the event logs. This will reduces the working set size for Services.exe. Your server may recover without having to be restarted.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kbenv, kbprb, KB329095

↑ Back to the top

Article Info
Article ID : 329095
Revision : 10
Created on : 10/11/2007
Published on : 10/11/2007
Exists online : False
Views : 484