Data left on /var/spool/cups and /var/spool/cups/tmp

Andy R andyrowe at mackintosh.co.uk
Wed Jul 21 08:28:01 PDT 2004


Helge Blischke wrote:
> Toralf Lund wrote:
> >
> > It looks like CUPS will sometimes leave files on /var/spool/cups and
> > /var/spool/cups/tmp. E.g. on one host we have
> >
> > # ls -l /var/spool/cups
> > total 44
> > -rw-------    1 lp       sys          1331 Mar 12 19:51 c00001
> > -rw-------    1 lp       sys          1343 Mar 12 19:51 c00002
> > -rw-------    1 lp       sys          1337 Mar 12 19:55 c00003
> > -rw-------    1 lp       sys          1337 Mar 15 09:47 c00004
> > -rw-------    1 lp       sys          1337 Mar 15 11:17 c00005
> > -rw-------    1 lp       sys           602 Mar 15 11:24 c00006
> > -rw-------    1 lp       sys          1337 Mar 15 14:26 c00007
> > -rw-------    1 lp       sys          1331 Mar 16 11:17 c00008
> > -rw-------    1 lp       sys           602 Mar 16 11:25 c00009
> > -rw-------    1 lp       sys          1337 Mar 17 11:50 c00010
> > drwx-----T    2 lp       sys          4096 Mar 17 11:50 tmp
> >
> > # ls -l /var/spool/cups/tmp/
> > total 7120
> > -rw-------    1 root     sys        662406 Jun 20  2002 3d11ca6239001
> > -rw-------    1 root     sys        118184 Jun 25  2002 3d18119e71f27
> > -rw-------    1 root     sys       3569106 Dec 18  2002 3e0054b1e6e1e
> > -rw-------    1 root     sys        402913 Sep  8  2003 3f5c905fe7774
> > -rw-------    1 root     sys        163840 Sep  8  2003 3f5c92215bc04
> > -rw-------    1 root     sys        402913 Sep  8  2003 3f5c922168001
> > -rw-------    1 root     sys        402913 Sep  8  2003 3f5c922915b9f
> > -rw-------    1 root     sys        402913 Sep  8  2003 3f5c9272e3034
> > -rw-------    1 root     sys        402913 Sep  8  2003 3f5c92c0619d1
> > -rw-------    1 root     sys         58855 Oct 13 10:05 3f8a5cceb6b48
> > -rw-------    1 root     sys         29974 Oct 13 16:49 3f8abb949bfc5
> > -rw-------    1 root     sys         46469 Dec 11 12:32 3fd855daae481
> > -rw-------    1 root     sys         46469 Dec 11 12:47 3fd8594a1ee72
> > -rw-------    1 root     sys        504082 Feb 18 17:20 403390c008f08
> >
> > with no print cups active. Another had an even worse situation just now;
> > there were *lots* of large files which consumed 11Gb in total and made
> > the machine unusable due to a full disk.
> >
> > What's causing this?
> >
> > cups-1.1.17-13 on Red Hat Linux 9
>
> What about the PreserveJobxxxx keyword in your cupsd.conf ?
>
> Helge
>
> --
> H.Blischke at srz-berlin.de
> H.Blischke at srz-berlin.com
> H.Blischke at acm.org

Had the same, and yes checked the PreserveJob keyword, which is set to yes as default. This resulted in 154807 files!!!!!!

Thank you Helge, changed it!





More information about the cups mailing list