spoolsv.exe consumes all CPU and RAM resources

8

2

Consider a Windows 7 x64 installation with 2 printers installed. The system has 8GB installed RAM. One printer is a Brother laser MFC-8220 Printer via TCP/IP, and the other is a CutePDF printer.

Problem: the spoolsv.exe regularly eats obscene amount of memory and CPU when the machine is idle. Usually the device is powered off. Turning it on has no effect on the RAM or CPU usage.

The first consideration was that perhaps a print job has previously been sent to the Brother, but the queues are empty, and no jobs are waiting.

These screenshots do not show, but regularly the spoolsv service will consume all 8GB and climb to use 95-100% of the CPU.

alt text

alt text

The two printers - a Brother and the CutePDF printer both have 0 documents in their respective queues.

Question: what measures can I take to ensure the spoolsv.exe doesn't consume inappropriate amounts of CPU and RAM?

alt text

p.campbell

Posted 2010-01-20T06:01:40.873

Reputation: 3 938

Answers

3

SPOOLSV loads print drivers into its own process - uninstall the Brother print and the driver package (from Print Management) and see if the issue persists. If it does not then the problem is the print driver.

If it is the print driver, you will need to change it. My preferred Brother print driver is the BRSCRIPT driver, because it's very lightweight. But I checked and there is no BRSCRIPT driver for your MFC-8220. Try the latest Windows 7 64-bit driver from the Brother website, or try the Windows XP 64-bit driver (if it is a different package from the Windows 7 one).

http://welcome.solutions.brother.com/bsc/public/as/au/en/dlf/download_top.html?reg=as&c=au&lang=en&prod=mfc8220_as

A few people suggested using "Print Directly To Printer", if you consider that a "solution".

If that doesn't help, you may want to script the spool service to restart when it starts using > 100MB of RAM - again, that's if you consider it a "solution".

If you're hell-bent on solving this problem properly, XPERF the process when it's exhibiting high CPU and see where you're burning those CPU cycles. If it's inside a Brother DLL then send them an email.

ta.speot.is

Posted 2010-01-20T06:01:40.873

Reputation: 13 727

3

It may be the common "corrupted print file" problem. Check under C:\WINDOWS\system32\spool\PRINTERS for any files that may be lingering. Delete them all and restart the print spooler service.

John T

Posted 2010-01-20T06:01:40.873

Reputation: 149 037

Fixed it for me. You may need to kill spoolsv.exe before deleting anything because it may have open file handles (had that even after rebooting). – bers – 2016-02-01T16:49:33.663

1@John - thank you for this suggestion. I've checked there, and no files (hidden or otherwise) were there. – p.campbell – 2010-01-20T14:51:33.903

Interesting. Try installing the latest drivers for the printers. – John T – 2010-01-20T14:53:21.043

0

I have the same problem. It happens when using the brother MFC-8440 as a network printer. We use a USB printer, and its useable on the network. the drivers install locally, and it prints normally. but CPU usage is high, and RAM constantly grows.

This was an issue both in XP and in Windows 7

I was able to stop it in XP by choosing to send documents to the printer directly. It doesn't spool them. Its an option in printer preferences. In Windows 7, when you choose send documents to printer directly, it crashes the printer.

Windows7user

Posted 2010-01-20T06:01:40.873

Reputation:

0

Try the Resource Monitor, built into Windows 7 (Vista?). That should help you check if it's a problem with disk or network accesses.

Hello71

Posted 2010-01-20T06:01:40.873

Reputation: 7 636