Bug#343201: cupsys: CUPS eats up CPU
Package: cupsys
Version: 1.1.23-10
Severity: important
I upgraded a Woody system to Sarge recently. This is a dual-cpu (AMD
Athlon MP), if it matters.
I read the other similar bug reports, but they are not like mine.
Now CUPS constantly eats 15-20% CPU, even when not doing anything.
Setting browsing to on or off does not change anything (while I intend
to use browsing in the end).
There are around 30 CUPS clients (Debian Sarge) using it, but not printing
all the time.
I attached strace to the "cupsd" process, and here is what I get:
aldebaran:/etc/netatalk# strace -p 7756 -c
Process 7756 attached - interrupt to quit
Process 7756 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
57.99 0.338424 8 44343 time
34.81 0.203131 24 8586 send
5.12 0.029908 17 1799 select
1.11 0.006503 30 216 recv
0.77 0.004469 38 118 write
0.08 0.000487 41 12 close
0.07 0.000416 35 12 accept
0.01 0.000074 6 12 setsockopt
0.01 0.000073 3 24 fcntl64
0.01 0.000047 47 1 sendto
0.01 0.000033 3 12 getrlimit
0.00 0.000012 12 1 recvfrom
------ ----------- ----------- --------- --------- ----------------
100.00 0.583577 55136
total
As you can see, there are a lot of calls to syscall "time", while on
anotheri Debian Sarge PC, there is no such behaviour noticeable.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages cupsys depends on:
ii adduser 3.63 Add and remove users and groups
ii debconf 1.4.30.13 Debian configuration management sy
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libcupsimage2 1.1.23-10 Common UNIX Printing System(tm) -
ii libcupsys2-gnutls10 1.1.23-10 Common UNIX Printing System(tm) -
ii libgnutls11 1.0.16-13.1 GNU TLS library - runtime library
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libpaper1 1.1.14-3 Library for handling paper charact
ii libslp1 1.0.11a-2 OpenSLP libraries
ii patch 2.5.9-2 Apply a diff file to an original
ii perl-modules 5.8.4-8 Core Perl modules
ii xpdf-utils 3.00-13 Portable Document Format (PDF) sui
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- debconf information:
cupsys/raw-print: true
cupsys/backend: ipp, lpd, parallel, socket, usb
Reply to: