Spooler.xml file growth and high CPU in spoolsv.exe process on Windows Server 2008 print server

Article translations Article translations
Article ID: 960919 - View products that this article applies to.
Expand all | Collapse all
Source: Microsoft Support

RAPID PUBLISHING

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

Symptom



Windows Server 2008 print server may experience higher than normal CPU utilization in the spoolsv.exe process.  The spooler.xml file located in %systemroot%\system32\spool\ folder will also grow in size and may exhaust all available disk space.

Cause



If the print spooler (spoolsv.exe) is under stress or the print server is very busy and the spooler enters an error condition, the errors are written to the spooler.xml file.  The CPU utilization is caused by the spooler process rapidly writing the errors to the log file and the file will continue to grow until the error condition ceases or the operating system is restarted.

Resolution

You can work around this problem by disabling Windows Error Reporting for the print spooler. To disable WER, perform the following steps:

1. Open the Registry Editor by running regedit.exe.

2. Browse to the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\

3.  Add a REG_DWORD value named DisableWERLogging and set this value to 0x1 (hexadecimal)

4.  Restart the Print Spooler service.

DISCLAIMER

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 960919 - Last Review: September 27, 2010 - Revision: 2.0
APPLIES TO
  • Windows Server 2008 Standard
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter
Keywords: 
kbrapidpub kbnomt KB960919

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com