HIGH CPU networkd-dispatcher

Bug reports
Post Reply
tj-19
Posts: 44
Joined: 10 Jun 2019, 20:42

HIGH CPU networkd-dispatcher

Post by tj-19 »

Hi Everyone,

I've recently upgraded from Ubuntu 22.04 (Jammy) to 24.04 (Noble) and encountered a HIGH CPU usage issue caused by networkd-dispatcher when it interacts with the PPP interfaces created by ACCEL-PPP.

I've attached an example from htop.

When I check the logs in journalctl, I see errors like this:

networkd-dispatcher[1234]: ERROR: Failed to get interface "ppp24" status: Command '['/usr/bin/networkctl', 'status', '--no-pager', '--no-legend', '--lines=0', '--', 'ppp24]' returned non-zero exit status 1.

It appears that networkd-dispatcher continuously cycles through the PPP interfaces created by ACCEL-PPP.

Running networkctl shows that all PPP interfaces are routable but unmanaged. To resolve this, I tried adding the following configuration to stop the monitoring:

----------------------------------------------
/etc/systemd/network/20-ppp.link

[Match]
Name=ppp*

[Network]
Unmanaged=yes
------------------------------------------------

Unfortunately, this hasn't worked.

Does anyone have suggestions on how to stop this issue with networkd-dispatcher or insights into what might be causing the problem since upgrading?

For reference, I've also updated to the latest version of ACCEL-PPP, so I'm unsure if this is related to a bug in ACCEL-PPP or another issue introduced during the upgrade.

Thanks in advance for your help!
Attachments
high-cpu-ppp.jpg
high-cpu-ppp.jpg (33.5 KiB) Viewed 603 times
dimka88
Posts: 874
Joined: 13 Oct 2014, 05:51
Contact:

Re: HIGH CPU networkd-dispatcher

Post by dimka88 »

Hi @tj-19, unfortunately ubuntu is not best distro for BRAS (when you have multiple ppp interface). In debian it is fixes via some commands
https://docs.accel-ppp.org/guides/BRAS_ ... timization
Post Reply