why is /var/spool/cups so huge?
rnicholsNOSPAM at comcast.net
Sun Feb 13 21:46:44 UTC 2011
On 02/13/2011 03:03 PM, Ranjan Maitra wrote:
> On Sun, 13 Feb 2011 12:10:53 -0600 Bill Davidsen<davidsen at tmr.com>
>> Robert Nichols wrote:
>>> On 02/13/2011 09:24 AM, Ranjan Maitra wrote:
>>>> I have been running F14 since the day it came out (on LXDE) and I have
>>>> noticed that my / is now as much as 7.3G in size. (My /home is separate
>>>> so these are really system-related files in /). Upon investigation, I
>>>> have come to realize that my /var/spool/cups is almost 4GB.
>>>> sudo du -sm /var/spool/cups/
>>>> 3953 /var/spool/cups/
>>>> I was wondering why this is so high, and whether there is some setting
>>>> that I should change for this. This has never previously been a problem
>>>> for me even when using LXDE. Does anyone have some suggestions.
>>> Sounds like you're keeping the control files for every job ever printed.
>>> Edit /etc/cups/cupsd.conf and add or change a line to set MaxJobs to some
>>> reasonable number. I use "MaxJobs 100" -- unlikely I'll ever want to see
>>> more job history than that.
>> Thanks, that's one of the better ideas I seen on the subject. I confess I would
>> like to have an easy way to scale that to keep 2-3 days of history regardless of
>> count, but for anything but a print server a fixed count is the right answer.
> Thanks very much, all! There is no printer attached to this machine
> anymore so I am not sure where this comes from. (there was a printer
> attached briefly for which F went and found the drivers to install,
> however.) In any case, when does this clear? Is there something I have
> to do beyond putting the line in which I have done (a few hours ago)
The outdated files should get cleaned up the next time you schedule a
print job. With no local printer, you presumably have either a network
printer or a print server for your jobs. You can always stop CUPS and
clean out that directory yourself. Don't delete the tmp directory, but
you can safely remove all of the ordinary files in /var/spool/cups and
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
More information about the users