My Oracle Support Banner

How to Clear Up /var/spool/cups after Print Job Completes (Doc ID 2211192.1)

Last updated on MAY 21, 2020

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64


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.


To view full details, sign in with your My Oracle Support account.

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

In this Document
 1. Configure cups to remove the job files beginning with "c"
 2. Configure cups to remove the job files beginning with "d"
 3. Controlling the number of files stored in /var/spool/cups

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.