Removing document files spam from cups

Bug #1832414 reported by Dave Jones
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Since my server (running xenial) updated to cups 2.1.3-4ubuntu0.9 last night the CUPS logs have had a considerable number of messages from cupsd stating "Removing document files" - about 3 or 4 a second constantly. Stopping the cups service stops the log-spam, and starting it again immediately resumes it (after a few hundred "Loading from cache..." messages). I've tried removing document files from the cache (there were a couple of ancient ones lying around - it's not a heavily used printer), but this made little difference to the symptoms.

I'm pretty confident this is due to the upgrade as:

1. the spam in the logs starts immediately after CUPS reloads (after the upgrade)

2. looking at the diff for 2.1.3-4ubuntu0.9 it does seem to be fiddling with things related to job clean-up (e.g. cupsdUpdateJobs and cupsdCleanJobs in scheduler/job.c)

If I can provide any further information, do let me know!

Revision history for this message
Dave Jones (waveform) wrote :

For anyone else that encounters this, running "cancel -x -a" to delete everything from the queue (including historical control files) seems to have cured the problem. Sorry for not keeping the evidence around, but I'm afraid after it generated 70Mb of logs in two days I needed to fix it :)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Dariusz, Till, could you have a look? That's reported as a potential regression from the xenial SRU

Changed in cups (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cups (Ubuntu):
status: New → Confirmed
Revision history for this message
MichaelB (mrbou) wrote :

Same problem here with Ubuntu Server 19.10 (cups 2.2.12-2ubuntu1) + LogLevel to debug.
Thousands of lines per second as below... it happen when printing and fill badly the logs too.

D [09/Dec/2019:11:00:16 +0100] [Job 50127] Removing document files.
D [09/Dec/2019:11:00:16 +0100] cupsdMarkDirty(---J-)
D [09/Dec/2019:11:00:16 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [09/Dec/2019:11:00:16 +0100] [Job 50128] Removing document files.
D [09/Dec/2019:11:00:16 +0100] cupsdMarkDirty(---J-)
D [09/Dec/2019:11:00:16 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [09/Dec/2019:11:00:16 +0100] [Job 50129] Removing document files.
D [09/Dec/2019:11:00:16 +0100] cupsdMarkDirty(---J-)
D [09/Dec/2019:11:00:16 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [09/Dec/2019:11:00:16 +0100] [Job 50130] Removing document files.
D [09/Dec/2019:11:00:16 +0100] cupsdMarkDirty(---J-)
D [09/Dec/2019:11:00:16 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [09/Dec/2019:11:00:16 +0100] [Job 50131] Removing document files.
D [09/Dec/2019:11:00:16 +0100] cupsdMarkDirty(---J-)
D [09/Dec/2019:11:00:16 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [09/Dec/2019:11:00:16 +0100] [Job 50132] Removing document files.
D [09/Dec/2019:11:00:16 +0100] cupsdMarkDirty(---J-)
....

Revision history for this message
DanieW (dawessels) wrote :

Today 2022-04-09, I also saw this on my Rocky Linux (updated) after a reboot after a crash, but "systemctl stop cups" and then "systemctl start cups" as root, resolved the issue. Sorry I have no more info than that. ; cups-2.2.6-40.el8.x86_64, Linux 4.18.0-348.12.2.el8_5.x86_64 #1 SMP Wed Jan 19 17:53:40 UTC 2022

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.