locked
Spool Files are 0 KB and can't delete RRS feed

  • Question

  • Customer got 2008 64 Bit server R2 and its a print server and most of the workstations are Windows 7. Every now and then in the spool folder there are spool files which is 0 KB and you can delete the file and the only way to get rid of this is by restarting spooler services. Once the number of 0Kb files increase the use of RAM goes up as well and slows the server. This is a intermittent problem and can happen to any type of jobs. The customer is installing the drivers locally on each workstation to get around this problem.

    Wednesday, March 16, 2011 8:54 PM

Answers

  • Hi,

    Thanks for the post.

    The SHD/SPL files are reused by the spooler for new print jobs rather than creating a new file.  This is the file pool feature implemented since Windows Server 2003. The shd file contains scheduling and user data, the spl file is the actual spooled print job.  The spooler will hang onto these for 15 minutes before deleting them.

    In this case, I suggest you put the spool folder on the non-system disk.

    In addition, you could follow these steps to turn Off Spool File Pooling for All Printers for test.

    1. Click Start, click Run, type regedit in the Open box, and then click OK.
    2. Locate the following registry subkey:
      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print
    3. On the Edit menu, point to New, and then click DWORD Value.
    4. In the New Value #1 box, type DisableServerFilePooling, and then press ENTER.
    5. Right-click DisableServerFilePooling, and then click Modify.
    6. In the Value data box, type 1 to turn off spool file pooling, and then click OK.
    7. Quit Registry Editor.

    WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

    Thanks,

    Miles


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    • Marked as answer by Miles Zhang Tuesday, March 22, 2011 7:36 AM
    Friday, March 18, 2011 3:49 AM
  • Where is the customer storing the spl files?  If the folder is not the default or security on the default spool directory is modified, there can be failures.

    Include security permission for Users and Owner if Miles solution does not address the problem.

     

     


    Alan Morris Windows Printing Team
    • Marked as answer by Miles Zhang Tuesday, March 22, 2011 7:36 AM
    Monday, March 21, 2011 10:15 PM
    Answerer

All replies

  • Hi,

    Thanks for the post.

    The SHD/SPL files are reused by the spooler for new print jobs rather than creating a new file.  This is the file pool feature implemented since Windows Server 2003. The shd file contains scheduling and user data, the spl file is the actual spooled print job.  The spooler will hang onto these for 15 minutes before deleting them.

    In this case, I suggest you put the spool folder on the non-system disk.

    In addition, you could follow these steps to turn Off Spool File Pooling for All Printers for test.

    1. Click Start, click Run, type regedit in the Open box, and then click OK.
    2. Locate the following registry subkey:
      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print
    3. On the Edit menu, point to New, and then click DWORD Value.
    4. In the New Value #1 box, type DisableServerFilePooling, and then press ENTER.
    5. Right-click DisableServerFilePooling, and then click Modify.
    6. In the Value data box, type 1 to turn off spool file pooling, and then click OK.
    7. Quit Registry Editor.

    WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

    Thanks,

    Miles


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    • Marked as answer by Miles Zhang Tuesday, March 22, 2011 7:36 AM
    Friday, March 18, 2011 3:49 AM
  • Thanks for that. I will try this and see how it goes.
    Sunday, March 20, 2011 10:35 PM
  • Where is the customer storing the spl files?  If the folder is not the default or security on the default spool directory is modified, there can be failures.

    Include security permission for Users and Owner if Miles solution does not address the problem.

     

     


    Alan Morris Windows Printing Team
    • Marked as answer by Miles Zhang Tuesday, March 22, 2011 7:36 AM
    Monday, March 21, 2011 10:15 PM
    Answerer