[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#841028: marked as done (cups-daemon: cupsd uses 100% CPU)



Your message dated Tue, 22 Aug 2023 15:54:52 +0100
with message-id <22082023154810.d5c956ebf573@desktop.copernicus.org.uk>
and subject line Re: Bug#841028: cups-daemon: cupsd uses 100% CPU
has caused the Debian Bug report #841028,
regarding cups-daemon: cupsd uses 100% CPU
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
841028: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841028
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups-daemon
Version: 2.2.1-1
Severity: important

Dear Maintainer,

Recently cupsd has started to use 100% CPU most of the time.
  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND    
20471 root      20   0  109684  31140   6232 R 100.0  0.2   9:49.86
  cupsd
  
stracing the process it looks as if it's continuously polling the
available printers.

All my (approx 50) printers are network connected via another CUPS
server (version 1.4.4) over which I have no control.

cups-browsed is installed, and has

  BrowseRemoteProtocols dnssd cups
  BrowsePoll remote-cups-server-address:631

in it.  All other settings are the defaults.

strace output -- this scrolls almost continuously:
write(6, "W [17/Oct/2016:08:32:26 +1100] C"..., 147) = 147
sendmsg(8, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\0\1\231\0\0\0005\3\0\0\235\0\0\0\1\1o\0\35\0\0\0/org/fre"..., iov_len=176}, {iov_base="\24\0\0\0blockhouse-p1-CMYK..\0\0\0\0\4\0\0\0"..., iov_len=153}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 329
poll([{fd=8, events=POLLIN}], 1, 5000)  = 1 ([{fd=8, revents=POLLIN}])
recvmsg(8, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\3\1\0015\0\0\0\30\f\0\0f\0\0\0\10\1g\0\1s\0\0\4\1s\0*\0\0\0"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 173
recvmsg(8, {msg_namelen=0}, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 20
connect(20, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = 0
sendto(20, "\2\0\0\0\2\0\0\0\4\0\0\0adm\0", 16, MSG_NOSIGNAL, NULL, 0) = 16
poll([{fd=20, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=20, revents=POLLIN|POLLHUP}])
read(20, "\2\0\0\0\1\0\0\0\4\0\0\0\2\0\0\0\4\0\0\0\0\0\0\0", 24) = 24
read(20, "adm\0x\0", 6)                 = 6
close(20)                               = 0
write(6, "W [17/Oct/2016:08:32:26 +1100] C"..., 147) = 147
sendmsg(8, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\0\0010\1\0\0006\3\0\0\235\0\0\0\1\1o\0\35\0\0\0/org/fre"..., iov_len=176}, {iov_base="\22\0\0\0cups-blockhouse-p1\0\0\4\0\0\0temp"..., iov_len=304}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 480
poll([{fd=8, events=POLLIN}], 1, 5000)  = 1 ([{fd=8, revents=POLLIN}])
recvmsg(8, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\2\1\1=\0\0\0\35\f\0\0.\0\0\0\10\1g\0\1o\0\0\5\1u\0006\3\0\0"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 125
recvmsg(8, {msg_namelen=0}, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
open("/etc/cups/ppd/blockhouse-p1.ppd", O_RDONLY) = 20
fcntl(20, F_GETFD)                      = 0
fcntl(20, F_SETFD, FD_CLOEXEC)          = 0
read(20, "*PPD-Adobe: \"4.3\"\n*FormatVersion"..., 4096) = 4096
read(20, "ole):  \"\"\n*KOPunch PK521+ZU606-4"..., 4096) = 4096
read(20, "unched false >> \n /KMOptions /Pr"..., 4096) = 4096
read(20, ") /KMMediaColor (None) /KMMediaW"..., 4096) = 4096
read(20, "setKMoptions get exec\"\n*End\n*Med"..., 4096) = 4096
read(20, "/FullBleed false >> /KMOptions /"..., 4096) = 4096
read(20, "deMode false /FullBleed false >>"..., 4096) = 4096
read(20, "rue >> /KMOptions /ProcSet findr"..., 4096) = 4096
read(20, "lfFold/Half-Fold:  \"<< /Collate "..., 4096) = 4096
read(20, ":  \"<< /Collate true >> setpaged"..., 4096) = 4096
read(20, "xec\"\n*AutoTrapping True/On:  \"<<"..., 4096) = 4096
read(20, "PickOne\n*OrderDependency: 10 Any"..., 4096) = 4096
read(20, "Moptions get exec\"\n*End\n*PageReg"..., 4096) = 4096
read(20, "FullBleed false >> /KMOptions /P"..., 4096) = 4096
read(20, " /WideMode true /FullBleed true "..., 4096) = 4096
read(20, "Area 8K/8K:  \"12 12 753 1093\"\n*I"..., 4096) = 4096
read(20, "ze EnvC4\n*UIConstraints: *InputS"..., 4096) = 4096
read(20, "nvChou3\n*UIConstraints: *InputSl"..., 4096) = 4096
read(20, "User4(2nd)\n*UIConstraints: *Inpu"..., 4096) = 4096
read(20, "MediaType Thick1(2nd) *Fold Half"..., 4096) = 4096
read(20, "Thick3(2nd) *Staple 1Staple(Left"..., 4096) = 4096
read(20, "ard\n*UIConstraints: *MediaType T"..., 4096) = 4096
read(20, "diaType Transparency *PageSize L"..., 4096) = 4096
read(20, "6_PostCard\n*UIConstraints: *Medi"..., 4096) = 4096
read(20, "nputSlot Tray2\n*UIConstraints: *"..., 4096) = 4096
read(20, "d) *Fold ZFold1\n*UIConstraints: "..., 4096) = 4096
read(20, "e 220mmx330mm *MediaType TAB\n*UI"..., 4096) = 4096
read(20, " *PageSize EnvISOB5 *Combination"..., 4096) = 4096
read(20, "vChou3 *Punch 4holes\n*UIConstrai"..., 4096) = 4096
read(20, "Size EnvKaku1 *Punch 2holes\n*UIC"..., 4096) = 4096
read(20, "Constraints: *PageSize Env10 *Of"..., 4096) = 4096
read(20, "ageSize A4Extra *Fold TriFold\n*U"..., 4096) = 4096
read(20, "diaType User2(2nd)\n*UIConstraint"..., 4096) = 4096
read(20, "1 *Fold Stitch\n*UIConstraints: *"..., 4096) = 4096
read(20, "raints: *Combination Booklet *Pa"..., 4096) = 4096
read(20, "Staple(Left) *Finisher None\n*UIC"..., 4096) = 4096
read(20, "aints: *Punch 2holes *PageSize E"..., 4096) = 4096
read(20, "s *MediaType Envelope\n*UIConstra"..., 4096) = 4096
read(20, "s: *Fold Stitch *PageSize EnvYou"..., 4096) = 4096
read(20, "k1(2nd)\n*UIConstraints: *Fold Tr"..., 4096) = 4096
read(20, "ype Plain(2nd)\n*UIConstraints: *"..., 4096) = 4096
read(20, "\n*UIConstraints: *Fold ZFold2 *K"..., 4096) = 4096
read(20, "Cover PITray2\n*UIConstraints: *B"..., 4096) = 4096
read(20, "*PIBackCover PITray2 *MediaType "..., 4096) = 4096
read(20, "lank *PageSize EnvYou3\n*UIConstr"..., 4096) = 4096
read(20, "erTray LCT\n*UIConstraints: *Pape"..., 4096) = 4096
read(20, "traints: *Finisher None *KOPunch"..., 4096) = 4096
read(20, "unch PK521-SWE4\n*UIConstraints: "..., 4096) = 4096
read(20, "ch PK520-SWE4 *Punch 3holes\n*UIC"..., 4096) = 4096
read(20, "ts: *SaddleUnit SD512 *Finisher "..., 4096) = 4096
read(20, "d-Oblique:  Standard \"(501.010)\""..., 4096) = 4096
read(20, "Standard \"(501.009)\" ExtendedRom"..., 4096) = 1110
read(20, "", 4096)                      = 0
read(20, "", 4096)                      = 0
close(20)                               = 0
stat("/var/cache/cups/blockhouse-p1.data", 0x7ffde442aa30) = -1 ENOENT (No such file or directory)
stat("/etc/cups/ppd/blockhouse-p1.ppd", {st_mode=S_IFREG|0640, st_size=210006, ...}) = 0
open("/etc/cups/ppd/blockhouse-p1.ppd", O_RDONLY) = 20
fcntl(20, F_GETFD)                      = 0
fcntl(20, F_SETFD, FD_CLOEXEC)          = 0
read(20, "*PPD-Adobe: \"4.3\"\n*FormatVersion"..., 4096) = 4096
read(20, "ole):  \"\"\n*KOPunch PK521+ZU606-4"..., 4096) = 4096
read(20, "unched false >> \n /KMOptions /Pr"..., 4096) = 4096
read(20, ") /KMMediaColor (None) /KMMediaW"..., 4096) = 4096
read(20, "setKMoptions get exec\"\n*End\n*Med"..., 4096) = 4096
read(20, "/FullBleed false >> /KMOptions /"..., 4096) = 4096
read(20, "deMode false /FullBleed false >>"..., 4096) = 4096
read(20, "rue >> /KMOptions /ProcSet findr"..., 4096) = 4096
read(20, "lfFold/Half-Fold:  \"<< /Collate "..., 4096) = 4096
read(20, ":  \"<< /Collate true >> setpaged"..., 4096) = 4096
read(20, "xec\"\n*AutoTrapping True/On:  \"<<"..., 4096) = 4096
read(20, "PickOne\n*OrderDependency: 10 Any"..., 4096) = 4096
read(20, "Moptions get exec\"\n*End\n*PageReg"..., 4096) = 4096
read(20, "FullBleed false >> /KMOptions /P"..., 4096) = 4096
read(20, " /WideMode true /FullBleed true "..., 4096) = 4096
read(20, "Area 8K/8K:  \"12 12 753 1093\"\n*I"..., 4096) = 4096
read(20, "ze EnvC4\n*UIConstraints: *InputS"..., 4096) = 4096
read(20, "nvChou3\n*UIConstraints: *InputSl"..., 4096) = 4096
read(20, "User4(2nd)\n*UIConstraints: *Inpu"..., 4096) = 4096
read(20, "MediaType Thick1(2nd) *Fold Half"..., 4096) = 4096
read(20, "Thick3(2nd) *Staple 1Staple(Left"..., 4096) = 4096
read(20, "ard\n*UIConstraints: *MediaType T"..., 4096) = 4096
read(20, "diaType Transparency *PageSize L"..., 4096) = 4096
read(20, "6_PostCard\n*UIConstraints: *Medi"..., 4096) = 4096
read(20, "nputSlot Tray2\n*UIConstraints: *"..., 4096) = 4096
read(20, "d) *Fold ZFold1\n*UIConstraints: "..., 4096) = 4096
read(20, "e 220mmx330mm *MediaType TAB\n*UI"..., 4096) = 4096
read(20, " *PageSize EnvISOB5 *Combination"..., 4096) = 4096
read(20, "vChou3 *Punch 4holes\n*UIConstrai"..., 4096) = 4096
read(20, "Size EnvKaku1 *Punch 2holes\n*UIC"..., 4096) = 4096
read(20, "Constraints: *PageSize Env10 *Of"..., 4096) = 4096
read(20, "ageSize A4Extra *Fold TriFold\n*U"..., 4096) = 4096
read(20, "diaType User2(2nd)\n*UIConstraint"..., 4096) = 4096
read(20, "1 *Fold Stitch\n*UIConstraints: *"..., 4096) = 4096
read(20, "raints: *Combination Booklet *Pa"..., 4096) = 4096
read(20, "Staple(Left) *Finisher None\n*UIC"..., 4096) = 4096
read(20, "aints: *Punch 2holes *PageSize E"..., 4096) = 4096
read(20, "s *MediaType Envelope\n*UIConstra"..., 4096) = 4096
read(20, "s: *Fold Stitch *PageSize EnvYou"..., 4096) = 4096
read(20, "k1(2nd)\n*UIConstraints: *Fold Tr"..., 4096) = 4096
read(20, "ype Plain(2nd)\n*UIConstraints: *"..., 4096) = 4096
read(20, "\n*UIConstraints: *Fold ZFold2 *K"..., 4096) = 4096
read(20, "Cover PITray2\n*UIConstraints: *B"..., 4096) = 4096
read(20, "*PIBackCover PITray2 *MediaType "..., 4096) = 4096
read(20, "lank *PageSize EnvYou3\n*UIConstr"..., 4096) = 4096
read(20, "erTray LCT\n*UIConstraints: *Pape"..., 4096) = 4096
read(20, "traints: *Finisher None *KOPunch"..., 4096) = 4096
read(20, "unch PK521-SWE4\n*UIConstraints: "..., 4096) = 4096
read(20, "ch PK520-SWE4 *Punch 3holes\n*UIC"..., 4096) = 4096
read(20, "ts: *SaddleUnit SD512 *Finisher "..., 4096) = 4096
read(20, "d-Oblique:  Standard \"(501.010)\""..., 4096) = 4096
read(20, "Standard \"(501.009)\" ExtendedRom"..., 4096) = 1110
read(20, "", 4096)                      = 0
read(20, "", 4096)                      = 0
close(20)                 

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel, arm64

Kernel: Linux 4.8.0+ (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages cups-daemon depends on:
ii  adduser              3.115
ii  bc                   1.06.95-9+b1
ii  dpkg                 1.18.10
ii  init-system-helpers  1.45
ii  libavahi-client3     0.6.32-1
ii  libavahi-common3     0.6.32-1
ii  libc6                2.24-3
ii  libcups2             2.2.1-1
ii  libcupsmime1         2.2.1-1
ii  libdbus-1-3          1.10.12-1
ii  libgssapi-krb5-2     1.14.3+dfsg-2
ii  libpam0g             1.1.8-3.3
ii  libpaper1            1.1.24+nmu4
ii  libsystemd0          231-9
ii  lsb-base             9.20160629
ii  procps               2:3.3.12-2
ii  ssl-cert             1.0.38

Versions of packages cups-daemon recommends:
ii  avahi-daemon  0.6.32-1
ii  colord        1.3.3-2
ii  cups-browsed  1.11.4-1

Versions of packages cups-daemon suggests:
ii  cups                             2.2.1-1
ii  cups-bsd                         2.2.1-1
ii  cups-client                      2.2.1-1
ii  cups-common                      2.2.1-1
ii  cups-filters [foomatic-filters]  1.11.4-1
pn  cups-pdf                         <none>
ii  cups-ppdc                        2.2.1-1
ii  cups-server-common               2.2.1-1
ii  foomatic-db                      20161005-1
ii  ghostscript                      9.19~dfsg-3
pn  hplip                            <none>
ii  poppler-utils                    0.44.0-3
ii  printer-driver-gutenprint        5.2.11-1+b1
pn  printer-driver-hpcups            <none>
pn  smbclient                        <none>
ii  udev                             231-9

-- no debconf information

--- End Message ---
--- Begin Message ---
reassign 841028 cups-browsed
thanks


A fix for this issue was provided by upstream in the 1.13.4 release of
cups-filters. Hence closing.

Chhers,

Brian.

--- End Message ---

Reply to: