Bug#773906: files left over in /var/spool/cups/tmp after job cancellation
Package: cups
Version: 1.5.3-5+deb7u4
Filing this bug against cups rather than cups-filters (1.0.18-2.1+deb7u1)
because I think the immediate culprit is /usr/lib/cups/filter/pstops, which
in this version belongs to the cups package. Feel free to reassign if need be.
I'm regularly seeing leftover temporary files in /var/spool/cups/tmp, as in:
7224 1844 -rw------- 1 lp lp 1884410 Dec 22 13:34 /var/spool/cups/tmp/gs_GpMpig
7528 0 -rw------- 1 lp lp 0 Dec 22 13:34 /var/spool/cups/tmp/gs_6nFAd2
6636 24 -rw------- 1 lp lp 21688 Dec 22 13:34 /var/spool/cups/tmp/gs_thHPkn
7265 23748 -rw------- 1 lp lp 24314754 Dec 22 13:34 /var/spool/cups/tmp/gs_v58Zf9
Until I started cleaning them up in a cron job these would accumulate and
eventually result in the system running out of spool space. The printer is
set up as a PostScript printer (HP CLJE CP4525 with HP-supplied PPD).
Correlating the time stamps with /var/log/cups/access_log suggests that this
happens whenever a user cancels a job that has already started printing.
I'm planning (for other reasons, see #682426, #664538) to try and switch to
a PDF-oriented PPD, which I hope will work around this issue, but fixing it
should still be of interest to users of printers that lack functional native
PDF support.
Reply to: