cupsd accumulate CPU

Michael Sweet mike at easysw.com
Tue Aug 1 09:45:41 PDT 2006


angelb wrote:
>> angelb wrote:
>>> ...
>>> I've never had any problem on polling with CUPS 1.1.23 on this test
>>> system. This crash occurred on CUPS 1.2.1 and now I see it again in
>>> 1.2.2.
>>>
>>> I can live with the minimal CPU spike during polling but the daemon
>>> crashing is definitely a problem.
>>>
>>> Where to from here?
>> Compile with debug enabled (./configure --enable-debug) and then
>> run the cups-polld program from the debugger.  When it crashes,
>> get a call stack ("where", "bt", etc. depending on the debugger)
>> so we can see where it is crashing and maybe why.
> 
> Questions: Is there a code in cupsd such that when a certain event
> occurs, it kills or send a SIGTERM to its child processes?

Yes, if you restart or stop the scheduler, it will send a SIGTERM
to its children.

If you run cupsd with the "-f" option (foreground), then core dumps
will not be disabled and you should see any core files from the
polling processes...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list