Bug 1623 - avahi 100% CPU load workaround [UPDATE REQUEST]
: avahi 100% CPU load workaround [UPDATE REQUEST]
Status: RESOLVED FIXED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: High major
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-08 15:56 MSK by Alexander Burmashev
Modified: 2013-02-12 15:28 MSK (History)
3 users (show)

See Also:
RPM Package: avahi
ISO-related:
Bad POT generating:
Upstream:
vladimir.potapov: qa_verified+
alex.burmashev: published+


Attachments
tcpdump-avahi.txt (13.47 KB, text/plain)
2013-02-12 12:22 MSK, Postnikov Dmitry
Details
avahi-browse (142.85 KB, image/png)
2013-02-12 12:22 MSK, Postnikov Dmitry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Burmashev 2013-02-08 15:56:12 MSK
patch was applied to add a workaround for http://bugs.rosalinux.ru/show_bug.cgi?id=1317
Comment 1 Alexander Burmashev 2013-02-08 15:57:38 MSK
Advisory:
avahi was patched to add a workaround for http://bugs.rosalinux.ru/show_bug.cgi?id=1317.
ExecStartPre=/bin/rm -f /var/run/avahi-daemon/pid was added to avahi service file.
Please not that this is the workaroud.

Buildlists:
https://abf.rosalinux.ru/build_lists/942897
https://abf.rosalinux.ru/build_lists/942896
Comment 2 Vladimir Potapov 2013-02-12 09:12:13 MSK
The package route to extended testing (8.02.213)
Comment 3 Postnikov Dmitry 2013-02-12 12:21:49 MSK
We are tested avahi on 8 computers. All with kernel-3.6.10 and one laptop with kernel-3.6.11 = no regression. All work. In logs is clear.
Tryed many reboots and many reconnect network (ethernet & wifi) = no problem. 

I write from log part & attach pic.
Also i attach tcpdump work avahi in next message.

=====================
[root@mindlife log]# cat /var/log/syslog | grep -i avahi
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Found user 'avahi' (UID 486) and group 'avahi' (GID 417).
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Successfully dropped root privileges.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: avahi-daemon 0.6.31 starting up.
Feb 12 01:14:38 mindlife systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Successfully called chroot().
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Successfully dropped remaining capabilities.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Loading service file /services/openssh.service.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Loading service file /services/sftp-ssh.service.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Loading service file /services/udisks.service.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Network interface enumeration completed.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Registering new address record for fe80::52e5:49ff:febe:96ff on eth0.*.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Server startup complete. Host name is mindlife.local. Local service cookie is 2517122844.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Service "mindlife" (/services/udisks.service) successfully established.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Service "mindlife" (/services/sftp-ssh.service) successfully established.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Service "Remote Access on mindlife" (/services/openssh.service) successfully established.
Feb 12 01:14:38 mindlife avahi-daemon[1710]: Registering HINFO record with values 'X86_64'/'LINUX'.
Feb 12 01:14:38 mindlife avahi-dnsconfd[1504]: Successfully connected to Avahi daemon.
Feb 12 01:14:39 mindlife avahi-daemon[1710]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.0.3.
Feb 12 01:14:39 mindlife avahi-daemon[1710]: New relevant interface eth0.IPv4 for mDNS.
Feb 12 01:14:39 mindlife avahi-daemon[1710]: Registering new address record for 192.168.0.3 on eth0.IPv4.
Feb 12 01:34:29 mindlife avahi-daemon[1710]: Withdrawing address record for 192.168.0.3 on eth0.
Feb 12 01:34:29 mindlife avahi-daemon[1710]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.0.3.
Feb 12 01:34:29 mindlife avahi-daemon[1710]: Interface eth0.IPv4 no longer relevant for mDNS.
Feb 12 01:34:37 mindlife avahi-daemon[1710]: Withdrawing address record for fe80::52e5:49ff:febe:96ff on eth0.
Feb 12 01:34:37 mindlife avahi-daemon[1710]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.0.3.
Feb 12 01:34:37 mindlife avahi-daemon[1710]: New relevant interface eth0.IPv4 for mDNS.
Feb 12 01:34:38 mindlife avahi-daemon[1710]: Registering new address record for 192.168.0.3 on eth0.IPv4.
Feb 12 01:34:39 mindlife avahi-daemon[1710]: Registering new address record for fe80::52e5:49ff:febe:96ff on eth0.*.
Feb 12 01:39:54 mindlife avahi-daemon[1710]: Withdrawing address record for 192.168.0.3 on eth0.
Feb 12 01:39:54 mindlife avahi-daemon[1710]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.0.3.
Feb 12 01:39:54 mindlife avahi-daemon[1710]: Interface eth0.IPv4 no longer relevant for mDNS.
Feb 12 01:40:16 mindlife avahi-daemon[1710]: Withdrawing address record for fe80::52e5:49ff:febe:96ff on eth0.
Feb 12 01:40:17 mindlife avahi-daemon[1710]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.0.3.
Feb 12 01:40:17 mindlife avahi-daemon[1710]: New relevant interface eth0.IPv4 for mDNS.
Feb 12 01:40:17 mindlife avahi-daemon[1710]: Registering new address record for 192.168.0.3 on eth0.IPv4.
Feb 12 01:40:18 mindlife avahi-daemon[1710]: Registering new address record for fe80::52e5:49ff:febe:96ff on eth0.*.
Feb 12 02:05:00 mindlife avahi-daemon[1710]: Withdrawing address record for 192.168.0.3 on eth0.
Feb 12 02:05:00 mindlife avahi-daemon[1710]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.0.3.
Feb 12 02:05:00 mindlife avahi-daemon[1710]: Interface eth0.IPv4 no longer relevant for mDNS.
Feb 12 02:05:20 mindlife avahi-daemon[1710]: Withdrawing address record for fe80::52e5:49ff:febe:96ff on eth0.
Feb 12 02:05:20 mindlife avahi-daemon[1710]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.0.3.
Feb 12 02:05:20 mindlife avahi-daemon[1710]: New relevant interface eth0.IPv4 for mDNS.
Feb 12 02:05:20 mindlife avahi-daemon[1710]: Registering new address record for 192.168.0.3 on eth0.IPv4.
Feb 12 02:05:21 mindlife avahi-daemon[1710]: Registering new address record for fe80::52e5:49ff:febe:96ff on eth0.*.
....
=========================
Comment 4 Postnikov Dmitry 2013-02-12 12:22:31 MSK
Created attachment 1183 [details]
tcpdump-avahi.txt
Comment 5 Postnikov Dmitry 2013-02-12 12:22:52 MSK
Created attachment 1184 [details]
avahi-browse
Comment 6 Postnikov Dmitry 2013-02-12 12:27:04 MSK
Forgot! :) On those computers where there was a 100% processor load, after updating the avahi it is not. All is normal.
Comment 7 Alexander Burmashev 2013-02-12 12:46:46 MSK
In such case i suppose you should approve this update ASAP.
Comment 8 Postnikov Dmitry 2013-02-12 12:58:41 MSK
(In reply to comment #7)
> In such case i suppose you should approve this update ASAP.

I don't have right to do it. This is other man, Vladimir.
Comment 9 Vladimir Potapov 2013-02-12 15:26:30 MSK
avahi-0.6.31-7-rosa2012.1
********************** Advisory *******************
Package fixed to correct the error with 100% CPU usage. (#1317)
***************************************************
QA Verified