High CPU Usage cupsd 1.2svn r4964

Gerd Bavendiek gerd.bavendiek at gmx.net
Fri Feb 10 05:03:31 PST 2006


I just tested with r5083. Unfortunately cupsd still eats _much_ CPU. Please let
me know, if I can help in debugging.

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
21473 lp        16   0  7596 5336 1188 S 22.9  0.3   6194:41 cupsd

is not really fun ...

> Gerd Bavendiek wrote:
> > ...
> > Unfortunately cupsd takes quite a lot of CPU time (only on the third
> > node, the one with hopefully zero administration and a 0 byte
> > printers.conf. cupsd both on antwerpen and bruessel takes only very
> > little CPU).
> > ...
> > stracing the process I can see that after getting data from antwerpen
> > or bruessel via select / recvfrom cupsd always opens /etc/services
> > and reads this file completely (it's 583K). Running strace -c for a
> > second or two gives:
>  > ...
>
> Can you file a STR for this:
>
>      http://www.cups.org/str.php
>
> We've done a lot of optimization for this use case and haven't seen
> this kind of load before, but it is possible recent changes may have
> affected things.
>
> Make sure to include the cupsd.conf and error_log files from polly
> along with the details in your original post so we can duplicate
> things here.
>
> Thanks!
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products           mike at easysw dot com
> Internet Printing and Publishing Software        http://www.easysw.com





More information about the cups-devel mailing list