Public bug reported:

avahi-daemon on a network with many clients is doing poll() with a zero
timeout and timing out immediately.  This looks like a busy wait to me.

poll([{fd=6, events=POLLIN}, {fd=17, events=POLLIN}, {fd=16, events=POLLIN}, 
{fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=13, events=POLLIN}, {fd=12, 
events=POLLIN}, {fd=11, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, 
events=POLLIN}], 10, 0) = 0 (Timeout)
write(7, "W", 1)                        = 1
write(7, "W", 1)                        = 1
read(6, "WW", 10)                       = 2
poll([{fd=6, events=POLLIN}, {fd=17, events=POLLIN}, {fd=16, events=POLLIN}, 
{fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=13, events=POLLIN}, {fd=12, 
events=POLLIN}, {fd=11, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, 
events=POLLIN}], 10, 0) = 0 (Timeout)
write(7, "W", 1)                        = 1
write(7, "W", 1)                        = 1
read(6, "WW", 10)                       = 2
poll([{fd=6, events=POLLIN}, {fd=17, events=POLLIN}, {fd=16, events=POLLIN}, 
{fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=13, events=POLLIN}, {fd=12, 
events=POLLIN}, {fd=11, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, 
events=POLLIN}], 10, 0) = 0 (Timeout)
write(7, "W", 1)                        = 1
write(7, "W", 1)                        = 1
read(6, "WW", 10)                       = 2
poll([{fd=6, events=POLLIN}, {fd=17, events=POLLIN}, {fd=16, events=POLLIN}, 
{fd=15, events=POLLIN}, {fd=14, events=POLLIN}, {fd=13, events=POLLIN}, {fd=12, 
events=POLLIN}, {fd=11, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, 
events=POLLIN}], 10, 0) = 0 (Timeout)

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: battery-power-consumption

** Tags added: battery-power-consumption

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

Title:
  avahi-daemon: polling with zero timeout

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to