GNOME Bugzilla – Bug 768174
Printers panel and gnome-settings-deamon spinning when cups isn't running (and disabled)
Last modified: 2016-09-20 10:31:35 UTC
control-center-3.20.1-1.fc25.x86_64 gnome-settings-daemon-3.20.1-3.fc25.x86_64 If the cups daemon is stopped and the scups socket disabled, both control-center/printers and gnome-settings-daemon process are spinning.
Сonfirm, gnome-settings-daemon without running CUPS eat 25% CPU: [paul@probook ~]$ ps -eo pcpu,pid,user,args --no-headers | grep -i gnome-settings-daemon 0.0 1052 gdm /usr/libexec/gnome-settings-daemon 30.0 1400 paul /usr/libexec/gnome-settings-daemon 0.0 2794 paul grep --color=auto -i gnome-settings-daemon socket(AF_INET6, SOCK_STREAM, IPPROTO_IP) = 22 setsockopt(22, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(22, SOL_SOCKET, SO_REUSEPORT, [1], 4) = 0 setsockopt(22, SOL_TCP, TCP_NODELAY, [1], 4) = 0 fcntl(22, F_SETFD, FD_CLOEXEC) = 0 fcntl(22, F_GETFL) = 0x2 (flags O_RDWR) fcntl(22, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(22, {sa_family=AF_INET6, sin6_port=htons(631), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EINPROGRESS (Operation now in progress) fcntl(22, F_SETFL, O_RDWR) = 0 poll([{fd=22, events=POLLIN|POLLOUT}], 1, 100) = 1 ([{fd=22, revents=POLLIN|POLLOUT|POLLERR|POLLHUP}]) sendto(22, "POST / HTTP/1.1\r\nContent-Length:"..., 193, 0, NULL, 0) = -1 ECONNREFUSED (Connection refused) sendto(22, "POST / HTTP/1.1\r\nContent-Length:"..., 193, 0, NULL, 0) = -1 EPIPE (Broken pipe) --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=1400, si_uid=1000} --- sendto(22, "POST / HTTP/1.1\r\nContent-Length:"..., 193, 0, NULL, 0) = -1 EPIPE (Broken pipe) --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=1400, si_uid=1000} --- close(22)
For the record, the corresponding downstream fedora bug throws it to cups (not yet identified change between 2.1 and 2.2) https://bugzilla.redhat.com/show_bug.cgi?id=1366775 https://github.com/apple/cups/issues/4870
Hi, thank you for this report. But we've found that this is a CUPS issue (which will be fixed soon hopefully). I'm closing this.