FS#50797 - [libcups] 2.2.0-1 causes high CPU load of samba
Attached to Project:
Arch Linux
Opened by Vladimir (_v_l) - Friday, 16 September 2016, 07:01 GMT
Last edited by Jan de Groot (JGC) - Monday, 19 September 2016, 14:06 GMT
Opened by Vladimir (_v_l) - Friday, 16 September 2016, 07:01 GMT
Last edited by Jan de Groot (JGC) - Monday, 19 September 2016, 14:06 GMT
|
Details
I'm using Archlinux x86_64 and testing repos. After today
upgrade and reboot of the system I noticed that samba and
gnome-settings-daemon (run by a user) are loading CPU very
high, both load two cores (I have i5 2410M, two cores with
HT, so 4 "virtual" cores). Only downgrading of cups package
(cups and libcups) to ver. 2.1.4-2 helps.
Not sure, if this is somehow related with Additional info: gnome-settings-daemon: 3.20.1+8+g40bf4fd-1 samba: 4.5.0-2 cups, libcups (affected version): 2.2.0-1 cups, libcups ("working" version): 2.1.4-2 Steps to reproduce: Start samba, use top or htop to check the CPU load. |
This task depends upon
Closed by Jan de Groot (JGC)
Monday, 19 September 2016, 14:06 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#50796
Monday, 19 September 2016, 14:06 GMT
Reason for closing: Duplicate
Additional comments about closing:
https://github.com/apple/cups/issues/4870
is related to mine but it looks somehow similar (infinite loop, I tried run gnome-settings-daemon under strace and saw many connections, also I tried to connect with the help of gdb to samba process that eats most of CPU power and saw 'setsockopt->httpAddrConnect2->httpReconnect2...').
To trigger the same behavior (CPU load) I have to comment line
printcap name = /etc/printcap
in /etc/samba/smb.conf and restart the service.
printcap name = /etc/printcap
commented out in /etc/samba/smb.conf.