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!
HIGH CPU networkd-dispatcher
HIGH CPU networkd-dispatcher
- Attachments
-
- high-cpu-ppp.jpg (33.5 KiB) Viewed 603 times
Re: HIGH CPU networkd-dispatcher
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
https://docs.accel-ppp.org/guides/BRAS_ ... timization