Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#58910 - [cups] 2.2.8 causes high cpu load on all cores
Attached to Project:
Arch Linux
Opened by Heinrich Siebmanns (Harvey) - Thursday, 07 June 2018, 10:52 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 21 June 2018, 18:44 GMT
Opened by Heinrich Siebmanns (Harvey) - Thursday, 07 June 2018, 10:52 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 21 June 2018, 18:44 GMT
|
DetailsWhen installing the update cups/libcups 2.2.7 -> 2.2.8 the cpu load increases from 2-3% up to around 50% on all 4 CPU cores.
top output then: top - 12:48:55 up 2:10, 1 user, load average: 1,29, 1,54, 1,05 Tasks: 217 total, 3 running, 214 sleeping, 0 stopped, 0 zombie %CPU(s): 30,8 us, 12,9 sy, 0,0 ni, 55,1 id, 0,1 wa, 0,6 hi, 0,5 si, 0,0 st MiB Spch: 7971,1 total, 2597,8 free, 1391,8 used, 3981,5 buff/cache MiB Swap: 0,0 total, 0,0 free, 0,0 used. 6346,3 avail Spch PID USER PR NI VIRT RES SHR S %CPU %MEM ZEIT+ BEFEHL 612 dbus 20 0 34128 4892 3196 R 66,0 0,1 5:20.93 dbus-daemon 911 harvey 20 0 4390144 318568 114680 S 48,0 3,9 5:27.26 plasmashell 30046 root 20 0 100240 9684 6956 S 28,7 0,1 0:12.21 cupsd 645 polkitd 20 0 2032612 22576 14996 S 26,3 0,3 2:07.68 polkitd 608 avahi 20 0 43040 3068 2740 S 10,7 0,0 0:52.06 avahi-daemon 1 root 20 0 234604 9176 6812 S 6,7 0,1 0:35.24 systemd 30048 cups 20 0 80188 5964 5156 S 3,7 0,1 0:01.51 dbus 947 harvey 9 -11 1686924 18588 14104 S 3,0 0,2 7:01.20 pulseaudio 334 root 20 0 175476 81468 80612 S 2,7 1,0 0:15.22 systemd-journal 644 root 20 0 501244 79128 58168 S 1,0 1,0 3:26.74 Xorg all other processes beyond 1% When downgrading to cups 2.2.7 with pacman -S extra/{libcups,cups} and restarting cups with systemctl restart org.cups.cupsd the cpu load looks like this: Tasks: 219 total, 1 running, 218 sleeping, 0 stopped, 0 zombie %CPU(s): 1,0 us, 1,5 sy, 0,0 ni, 96,8 id, 0,3 wa, 0,3 hi, 0,1 si, 0,0 st MiB Spch: 7971,1 total, 2556,4 free, 1413,7 used, 4001,0 buff/cache MiB Swap: 0,0 total, 0,0 free, 0,0 used. 6308,2 avail Spch PID USER PR NI VIRT RES SHR S %CPU %MEM ZEIT+ BEFEHL 947 harvey 9 -11 1686924 18588 14104 S 6,0 0,2 7:06.64 pulseaudio 911 harvey 20 0 4390144 318588 114680 S 1,3 3,9 6:33.69 plasmashell 29485 root 0 -20 0 0 0 I 1,3 0,0 0:00.40 kworker/u17:1 26149 root 0 -20 0 0 0 I 1,0 0,0 0:04.67 kworker/u17:2 29389 root 0 -20 0 0 0 I 1,0 0,0 0:00.42 kworker/u17:3 29649 harvey 20 0 1818288 108096 84356 S 1,0 1,3 0:05.35 konsole |
This task depends upon
CPU is a
Modellname: Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz
Stepping: 5
CPU MHz: 1303.695
https://github.com/KDE/print-manager/blob/Applications/18.04/libkcups/KCupsRequest.cpp#L197 not valid attribute for Get-Jobs
https://github.com/KDE/print-manager/blob/Applications/18.04/libkcups/KCupsRequest.cpp#L200 my-jobs is a boolean not integer
Edit:
https://github.com/zdohnal/pycups/blob/3625dfc06a85aba999dc548ba45f74767397be46/cupsconnection.c#L1600 pycups as used by system-config-printer of gnome use seems to use the correct attributes.