Mac OS X Server 10.3: /var/spool/cups/tmp folder contains thousands of files

If the Server Admin program is left connected to Mac OS X Server 10.3 to 10.3.2, the /var/spool/cups/tmp folder on the server may grow to contain a large number of files. In some circumstances it could be thousands of files that use a large amount of disk space on the startup disk.
The Mac OS X Server Update 10.3.3 significantly reduces the number of files that will be written to this directory, though you may still wish to periodically clean it out. Any time you want to empty the folder, follow these steps:

  1. Stop the Print Service.
  2. Open Terminal (/Applications/Utilities).
  3. Execute these commands:

    $ sudo rm -r /var/spool/cups/tmp
    $ sudo mkdir /var/spool/cups/tmp
    $ sudo chmod 1770 /var/spool/cups/tmp

  4. Start the Print Service.
Published Date: Oct 8, 2016