Re: why is /var/spool/cups so huge?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/13/2011 03:03 PM, Ranjan Maitra wrote:
> On Sun, 13 Feb 2011 12:10:53 -0600 Bill Davidsen<davidsen@xxxxxxx>
> wrote:
>
>> 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.
>>
>
> 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)
> now.

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
/var/spool/cups/tmp.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux