My Oracle Support Banner

Oracle Linux: How to Clear Up /var/spool/cups After Print Job Completes (Doc ID 2211192.1)

Last updated on AUGUST 24, 2023

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Oracle Cloud Infrastructure - Version N/A 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 begin with "d" example d00010 and others begin with "c"  c00016.

This document will explain how to 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

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
Goal
Solution
 Configure cups to remove the job files beginning with "c"
 Configure cups to remove the job files beginning with "d"
 Controlling the number of files stored in /var/spool/cups
References


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