Does your cups clean up after itself?
David G. Miller
dave at davenjudy.org
Wed Dec 6 04:57:47 UTC 2006
Jim Cornette <fc-cornette at insight.rr.com> wrote:
> Sam Varshavchik wrote:
>> > Currently, my contents of /var/spool/cups on FC6 are:
>> >
>> > [root at commodore cups]# ls -al
>> > total 224
>> > drwx--x--- 3 root lp 4096 Dec 4 22:04 .
>> > drwxr-xr-x 17 root root 4096 Oct 29 14:36 ..
>> > -rw------- 1 root lp 686 Oct 28 17:38 c00001
>> > -rw------- 1 root lp 686 Oct 28 17:39 c00002
>> > -rw------- 1 root lp 686 Oct 28 17:41 c00003
>> >
>> > […]
>> >
>> > -rw------- 1 root lp 713 Dec 4 19:41 c00048
>> > -rw------- 1 root lp 713 Dec 4 19:44 c00049
>> > -rw------- 1 root lp 728 Dec 4 22:04 c00050
>> > drwxrwx--T 2 root lp 4096 Nov 22 07:17 tmp
>> >
>> >
>> > Oct 28 was when this machine was upgraded to FC6, and it's been rebooted
>> > several times since then. Looks like cups doesn't clean up after itself.
>> > Before I bugzilla this, can anyone look into their /var/spool/cups to
>> > see if cups cleans up its files?
>> >
>> >
>> >
>>
>
> I have the below and no outstanding print jobs outstanding.
>
> Jim
>
> ls -la /var/spool/cups
> total 80
> drwx--x--- 3 root lp 4096 Dec 1 18:55 .
> drwxr-xr-x 15 root root 4096 Oct 10 18:06 ..
> -rw------- 1 root lp 649 Nov 3 20:05 c00054
> -rw------- 1 root lp 663 Nov 3 20:22 c00055
> -rw------- 1 root lp 665 Nov 7 06:20 c00056
> -rw------- 1 root lp 663 Nov 7 06:39 c00057
> -rw------- 1 root lp 663 Nov 7 06:45 c00058
> -rw------- 1 root lp 723 Nov 28 21:43 c00059
> -rw------- 1 root lp 711 Dec 1 18:55 c00060
> drwxrwx--T 2 root lp 4096 Dec 1 18:55 tmp
Equivalent content of /var/spool/cups here. A quick vi of one of the
files (they're binary so don't cat them :-o) reveals the content to be
some kind of a job record.
If nothing else, looks like there just needs to be a cron job that
deletes the files older than some reasonable vintage (31 days?).
Cheers,
Dave
--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce
More information about the fedora-list
mailing list