[cups.general] Excessive spool files slows CUPS

Minatra, Pat H. pminatra at hsutx.edu
Wed Dec 6 07:59:52 PST 2006


I have tried with this version (1.1.21) to set MaxJobs at 500 but the
software filed the first 500 and three out anything AFTER the first 500
which is indicated on earlier posts to this list of several months ago
and I believe it to be a bug which was later fixed in another version.
We are unable to upgrade to a later version at this time so a work
around is probably the ONLY solution as far as we can tell.

Thank you so much for the information as I thought that this was right
but was not quite sure.

Have a GREAT day!

-------------------------
"Life is but a twinkle in the eye of eternity"
"The shortest distance between a problem and a solution is the distance
between your knees and the floor"
"sorrow looks back - worry looks around - faith looks up"
Regards,
Pat H. Minatra - N5GJR
(325) 670-5804 voice
(325) 670-1570 fax
Hardin-Simmons University  
www.hsutx.edu
PO BOX 16040
Abilene, TX  79698
-------------------------
The mission of Hardin-Simmons University is to be a community dedicated
to providing excellence in education enlightened by Christian faith and
values.
-------------------------
PRIVILEGED AND CONFIDENTIAL NOTICE: The information contained in this
e-mail may be confidential and/or privileged. This e-mail is intended to
be reviewed initially by only the individual named above. If the reader
of this e-mail is not the intended recipient or a representative of the
intended recipient, you are hereby notified that any review,
dissemination or copying of this e-mail, or the information contained
herein, is prohibited. If you have received this e-mail in error, notify
the above sender, send the message back and then delete it. 
-------------------------
Thank you for your assistance. Hardin-Simmons University; 2200
Hickory/HSU Box 16040; Abilene, TX  79698; 325.670.1000
-------------------------
-----Original Message-----
From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf
Of Michael Sweet
Sent: Wednesday, December 06, 2006 8:43 AM
To: cups at easysw.com
Subject: Re: [cups.general] Excessive spool files slows CUPS

Minatra, Pat H. wrote:
> I am trying to determine if CUPS needs to be stopped PRIOR to removing
> the excessive number of files in /var/spool/cups.

The normal method for a manual purge is to do:

     /etc/init.d/cups stop
     ... purge old c files from the /var/spool/cups directory
     /etc/init.d/cups start

You can also do a "restart", but cupsd will not necessarily release
the unused memory to the OS for the old jobs...  Doing the stop and
start ensures that this happens.

CUPS 1.2 deals with large numbers of jobs in the job history much
better, loading/unloading the job history as needed (less memory
pressure) and keeping the active jobs separate from the completed
ones.

> If I do NOT remove these files, CUPS gets slower and slower.  The fix
is
> to remove anything past 30 days and then there is GREAT improvement in
> the speed of CUPS.  I have not found any setting in the cupsd.conf
file
> that will do this same function.

Time-wise, no, but MaxJobs will limit the total number of jobs that
are kept; the default is 500 jobs for any CUPS released in the last
4 years...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com
_______________________________________________
cups mailing list
cups at easysw.com
http://lists.easysw.com/mailman/listinfo/cups





More information about the cups mailing list