[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot

Till Kamppeter 1059286 at bugs.launchpad.net
Wed Oct 3 08:09:05 UTC 2012


Attaching strace to the running avahi-daemon (<PID>  is process ID of
avahi-daemon)

sudo strace -s 65535 -p <PID> 2>&1 | tee log

and stopping CUPS with

sudo stop cups

shows that avahi-daemon still sends out (or at least tries) broadcast
packets with the print queues:

sendmsg(13, {msg_name(16)={sa_family=AF_INET, sin_port=htons(5353), sin_addr=ine
t_addr("224.0.0.251")}, msg_iov(1)=[{"\0\0\0\0\0\31\0\0\0\0\0\0\31Generic PostSc
ript @ till\4_ipp\4_tcp\5local\0\0\377\0\1%HP Photosmart Pro B8800 series @ till
\300&\0\377\0\1!HP Photosmart C8100 series @ till\10_printer\300+\0\377\0\1!HP P
hotosmart C8100 series @ till\5_ipps\300+\0\377\0\1!HP Photosmart C8100 series @
 till\300&\0\377\0\1!HP Photosmart C5200 series @ till\300\211\0\377\0\1!HP Phot
osmart C5200 series @ till\300\272\0\377\0\1!HP Photosmart C5200 series @ till\3
00&\0\377\0\1\35EPSON Stylus COLOR 880 @ till\300\211\0\377\0\1\35EPSON Stylus C
OLOR 880 @ till\300\272\0\377\0\1\35EPSON Stylus COLOR 880 @ till\300&\0\377\0\1
\36HP_Color_LaserJet_2600n @ till\300\211\0\377\0\1\36HP_Color_LaserJet_2600n @ 
till\300\272\0\377\0\1\36HP_Color_LaserJet_2600n @ till\300&\0\377\0\1\rHP Fax @
 till\300\211\0\377\0\1\rHP Fax @ till\300\272\0\377\0\1\rHP Fax @ till\300&\0\3
77\0\1'Hewlett-Packard HP LaserJet 3390 @ till\300\211\0\377\0\1'Hewlett-Packard
 HP LaserJet 3390 @ till\300\272\0\377\0\1'Hewlett-Packard HP LaserJet 3390 @ ti
ll\300&\0\377\0\1'Hewlett-Packard HP LaserJet 1020 @ till\300\211\0\377\0\1'Hewl
ett-Packard HP LaserJet 1020 @ till\300\272\0\377\0\1'Hewlett-Packard HP LaserJe
t 1020 @ till\300&\0\377\0\0013Hewlett-Packard HP Color LaserJet CM3530 MFP @ ti
ll\300\211\0\377\0\0013Hewlett-Packard HP Color LaserJet CM3530 MFP @ till\300\2
72\0\377\0\1", 1029}], msg_controllen=28, {cmsg_len=28, cmsg_level=SOL_IP, cmsg_
type=, ...}, msg_flags=0}, 0) = 1029

Remote machines do not see any Avahi broadcast from the machine where
avahi-daemon is spinning on 100% CPU.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1059286

Title:
  avahi-daemon takes 100% CPU right after boot

Status in “avahi” package in Ubuntu:
  New

Bug description:
  When I boot the system and log in avahi-daemon takes 100% CPU and
  Avahi/mDNS/Bonjour does not work at all, avahi-discover does not get
  access to anything and does not open its window, until it reaches a
  timeout and shows an error dialog.

  When I restart avahi-daemon with

  sudo restart avahi-daemon

  avahi-daemon usually gets back to normal not taking significant CPU
  percentage and answering to avahi-discover correctly. If it takes 100%
  CPU again I simply do another restart to get it to normal.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: avahi-daemon 0.6.31-1ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4
  Uname: Linux 3.5.0-16-generic x86_64
  ApportVersion: 2.5.3-0ubuntu1
  Architecture: amd64
  Date: Mon Oct  1 00:05:30 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120724.2)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: avahi
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.avahi.avahi.daemon.conf: 2012-09-18T17:25:04.112674

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1059286/+subscriptions




More information about the foundations-bugs mailing list