Page 1 of 1

HIGH CPU networkd-dispatcher

Posted: 08 Dec 2024, 04:26
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!

Re: HIGH CPU networkd-dispatcher

Posted: 02 Jan 2025, 13:03
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