why is /var/spool/cups so huge?
Bill Davidsen
davidsen at tmr.com
Sun Feb 13 18:10:53 UTC 2011
Robert Nichols wrote:
> On 02/13/2011 09:24 AM, Ranjan Maitra wrote:
>> Hi,
>>
>> 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.
--
Bill Davidsen <davidsen at tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
More information about the users
mailing list