[cups.bugs] Re: [LOW] STR #1405: High CPU Usage cupsd 1.2svn r4964

Gerd Bavendiek g.bavendiek.ext at wincor-nixdorf.com
Tue Feb 21 13:15:35 PST 2006


On Wed, 15 Feb 2006 15:33:02 -0500 (EST)
Michael Sweet <mike at easysw.com> wrote:

> 
> [STR Active]
> 
> OK, can you test with the current code (either direct from the repository
> or wait for the next snapshot > r5109) to see if this problem has been
> fixed?
> 
> Thanks!
> 
> Link: http://www.cups.org/str.php?L1405
> Version: 1.2-current
> 

Hi Michael,

I just tested 5137 using the same system as before.

According to top CPU load is lower now, approx. 8 % compared to 22 % before.

Now:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
20453 lp        16   0  5452 4144 1096 S  8.0  0.2   2:37.44 cupsd

Was:

  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

AFAIK there is no change looking at strace. I attached the
strace-output, running strace -f -t -p <pid-cupsd> for a _few_
seconds. I still see the process reading /etc/services over and over
(which is 583K in size).

-- 
MfG Gerd

------------------------------------------------------------------------
Gerd Bavendiek                             Linux Laptop Users check out:
gerd.bavendiek at googlemail.com              http://netenv.sourceforge.net
------------------------------------------------------------------------



P.S.: To be able to build the package, I have to change the
spec-File. The diff's are:

antwerpen:/root>>> diff cups.spec cups-1.2svn-r5137/packaging/
91c91
< %setup -n cups-1.2svn-r5137
---
> %setup
148c148
< ###/etc/dbus-1/system.d/*
---
> /etc/dbus-1/system.d/*
151,152c151,152
< ###%dir /etc/pam.d
< ###/etc/pam.d/*
---
> %dir /etc/pam.d
> /etc/pam.d/*


This way 

antwerpen:/root>>> rpmbuild -bb cups.spec

works. I found no way around the above changes.





More information about the cups mailing list