Bug#922630: avahi-daemon high cpu usage

2022-03-03 Thread Vincent Lefevre
On 2022-03-03 16:12:57 +0100, Vincent Lefevre wrote:
> On 2019-02-18 16:10:35 +, David Miguel Susano Pinto wrote:
> > avahi-dameon shows a very high cpu usage and I found no useful
> > messages on the logs.
> 
> Same issue. The htop utility shows:
> 
> PID USER  PRI  NI  VIRT   RES   SHR S CPU%▽MEM%   TIME+  Command
> 634 avahi  20   0 36172 31724  3936 R 99.9  0.1 32h20:44 
> avahi-daemon: running [cventin.local]
> 
> > This issue only happens at a specific network (eduroam wifi network at
> > my university).
> 
> Here this is at my lab, for a machine connected via an Ethernet cable.

I've looked at the atop logs since the machine got rebooted.
The CPU usage actually increases during the first 24 hours
to reach about 100%:
  00:30  1%
  00:40  2%
  01:00  3%
  01:10  4%
  01:20  5%
  02:00  6%
  03:00  8%
  04:00 11%
  05:00  9%
  06:00 11%
  07:00 12%
  08:00 14%
  09:00 10%
  10:00 10%
  11:00 12%
  12:00 16%
  13:00 17%
  14:00 18%
  15:00 20%
  16:00 21%
  17:00 24%
  18:00 29%
  19:00 38%
  20:00 42%
  21:00 49%
  21:30 59%
  22:00 68%
  22:30 86%
  23:00 93%
  24:00 96%

So bug 922630 looks like the same bug as bug 993051.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#922630: avahi-daemon high cpu usage

2022-03-03 Thread Vincent Lefevre
Control: found -1 0.8-5

On 2019-02-18 16:10:35 +, David Miguel Susano Pinto wrote:
> avahi-dameon shows a very high cpu usage and I found no useful
> messages on the logs.

Same issue. The htop utility shows:

PID USER  PRI  NI  VIRT   RES   SHR S CPU%▽MEM%   TIME+  Command
634 avahi  20   0 36172 31724  3936 R 99.9  0.1 32h20:44 avahi-daemon: 
running [cventin.local]

> This issue only happens at a specific network (eduroam wifi network at
> my university).

Here this is at my lab, for a machine connected via an Ethernet cable.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#922630: avahi-daemon high CPU usage oscillates between 20-100%

2019-05-28 Thread Peter Berntsen
Package: avahi-daemon
Version: 0.7-4+b1
Followup-For: Bug #922630

Dear Maintainer,

   * What led up to the situation?
eduroam WIFI connected to the internet at a university. 
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
 Nothing. 
   * What was the outcome of this action?
   Slow computer, fan running on and off at full speed. 
   * What outcome did you expect instead?
   That the avahi-daemon wasn't acting like a magnet to all my CPU.



-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages avahi-daemon depends on:
ii  adduser3.118
ii  bind9-host [host]  1:9.11.5.P4+dfsg-5
ii  dbus   1.12.12-1
ii  libavahi-common3   0.7-4+b1
ii  libavahi-core7 0.7-4+b1
ii  libc6  2.28-10
ii  libcap21:2.25-2
ii  libdaemon0 0.14-7
ii  libdbus-1-31.12.12-1
ii  libexpat1  2.2.6-1
ii  lsb-base   10.2019051400

Versions of packages avahi-daemon recommends:
ii  libnss-mdns  0.14.1-1

Versions of packages avahi-daemon suggests:
ii  avahi-autoipd  0.7-4+b1

-- no debconf information



Bug#922630: avahi-daemon high CPU usage oscillates between 20-100%

2019-05-28 Thread Peter Berntsen
Followup-For: Bug #922630
Package: avahi-daemon
Version: 0.7-4+b1

Dear Maintainer,

   * What led up to the situation?
eduroam WIFI connected to the internet at a university.
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
 Nothing.
   * What was the outcome of this action?
   Slow computer, fan running on and off at full speed.
   * What outcome did you expect instead?
   That the avahi-daemon wasn't acting like a magnet to all my CPU.



-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8),
LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages avahi-daemon depends on:
ii  adduser3.118
ii  bind9-host [host]  1:9.11.5.P4+dfsg-5
ii  dbus   1.12.12-1
ii  libavahi-common3   0.7-4+b1
ii  libavahi-core7 0.7-4+b1
ii  libc6  2.28-10
ii  libcap21:2.25-2
ii  libdaemon0 0.14-7
ii  libdbus-1-31.12.12-1
ii  libexpat1  2.2.6-1
ii  lsb-base   10.2019051400

Versions of packages avahi-daemon recommends:
ii  libnss-mdns  0.14.1-1

Versions of packages avahi-daemon suggests:
ii  avahi-autoipd  0.7-4+b1

-- no debconf information


Bug#922630: avahi-daemon high cpu usage

2019-02-18 Thread David Miguel Susano Pinto
Package: avahi-daemon
Version: 0.7-4+b1
Severity: normal

Dear Maintainer,

avahi-dameon shows a very high cpu usage and I found no useful
messages on the logs.  Restarting the daemon does nothing.  When I ran
the daemon with '--debug' option, I see hundreds of lines like this on
syslog:

Received response from host 10.31.19.92 with invalid source port 63227
Received response from host 10.31.20.38 with invalid source port 57554
Received response from host 10.31.40.164 with invalid source port 58307
Received response from host 10.31.44.4 with invalid source port 54151

It's always those four IP addresses and those four ports.  There's
many other entries but those are the ones that look the most like an
error.

This issue only happens at a specific network (eduroam wifi network at
my university).  There are no problems on many other networks so I
think there may be something odd with this specific university.

However, I also think that avahi should be a bit more resilient.  Even
if there is an issue on the network, it should not bring a laptop to a
halt.  avahi-daemon goes at 100% CPU usage nonstop.  The only reason I
can do any work at all is that this is a quite beffy quadcore laptop.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages avahi-daemon depends on:
ii  adduser3.118
ii  bind9-host [host]  1:9.11.5.P1+dfsg-1
ii  dbus   1.12.12-1
ii  libavahi-common3   0.7-4+b1
ii  libavahi-core7 0.7-4+b1
ii  libc6  2.28-6
ii  libcap21:2.25-2
ii  libdaemon0 0.14-7
ii  libdbus-1-31.12.12-1
ii  libexpat1  2.2.6-1
ii  lsb-base   10.2018112800

Versions of packages avahi-daemon recommends:
ii  libnss-mdns  0.14.1-1

Versions of packages avahi-daemon suggests:
ii  avahi-autoipd  0.7-4+b1

-- no debconf information