How to Clear Up /var/spool/cups after Print Job Completes

(Doc ID 2211192.1)

Last updated on JUNE 02, 2017

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86
Linux x86-64

Goal

There are  800,000 files in /var/spool/cups left after printing. cups is not cleaning up the "c" file after the job completes and over time, on a busy system, all these files lead to a shortage of inodes in the root file system.

Some begins with "d" example d00010 and others begin with "c"   c00016 .

We will explain How can  we configure cups to remove the job files (d*) and the job history (c*) files from /var/spool/cups/ after successful jobs have been sent to printer queues.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms