[cups.general] Doubt about cups MaxJobs

Salatiel Filho salatiel.filho at gmail.com
Wed Mar 3 23:45:49 PST 2010


On Thu, Mar 4, 2010 at 02:55, Michael Sweet <msweet at apple.com> wrote:
> On Mar 3, 2010, at 2:45 PM, Salatiel Filho wrote:
>> Hi, reading the article "Why Is CUPS Taking Up A Lot Of CPU Memory And
>> How Can I Fix It?" from http://www.cups.org/articles.php?L247+T+Q i
>> understood that if you keep MaxJobs = 0 , cups will eat lots of memory
>> because it will keep those jobs in memory.
>> Well , in my environment i use MaxJobs = 0 , because there are a few
>> jobs that  can not it be "rotated/deleted" for a few days, so i have a
>> script that purges, daily, all completed jobs from the other queues [
>> /var/spool/c* and /var/spool/d* ] and sends a HUP signal for cups. It
>> works fine, only the jobs that cannot be deleted will be left in cups,
>> but i have this doubt:
>> Will cups release the used memory after a HUP signal ?  Is there
>> another approach to avoid jobs from an specif queue be kept and not
>> deleted if i use max jobs > 0  and this limit is achieved ?
>
>
> That article hasn't been updated since CUPS 1.4 was released; now we only keep active and recently accessed completed jobs in memory. Sending SIGHUP will unload the completed jobs.
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>
>
>
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
>

I am using cups 1.3.7 from redhat 5.4. Does sighup release completed
jobs that i manually deleted in this version ?

-- 
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
   diante de um  idiota que banca o inteligente".


..





More information about the cups mailing list