Page MenuHomeVyOS Platform

Add an option to limit the number of threads for accel-ppp services
Closed, ResolvedPublicBUG

Description

Accel-ppp services should not use all CPU cores to process requests.
After this commit accel-ppp services use all available CPU cores to process requests from the subscribers (establish/update session/etc).
During mass connection of sessions, this can lead to the fact that it utilizes all CPU, and for other services like FRR, there is not enough CPU time to process their own stable work.
It causes watchfrr cannot to communicate with the required daemons like zebra and after 90 seconds it kills all routing daemons.

restsat-frr.png (1×1 px, 430 KB)

vyos@vpp# cat /run/accel-pppd/pppoe.conf | grep thre
thread-count=2
[edit]
vyos@vpp# 
[edit]
vyos@vpp# run show system cpu 
CPU socket: 0
CPU Vendor:       AuthenticAMD
Model:            AMD Ryzen 5 3600 6-Core Processor
Cores:            2
Current MHz:      3593.246
[edit]
vyos@vpp#

It should be configurable option or use by default not all CPU's

Details

Version
VyOS 2025.04.08-0813-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav triaged this task as High priority.
Viacheslav changed the task status from Open to In progress.May 8 2025, 10:54 AM
Viacheslav claimed this task.

PR https://github.com/vyos/vyos-1x/pull/4499

set service pppoe-server thread-count '2'
dmbaturin renamed this task from Accel-ppp services should not use all CPU cores to process requests to Add an option to limit the number of threads for accel-ppp services.May 28 2025, 10:25 PM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.3) board.
dmbaturin moved this task from Open to Finished on the VyOS 1.5 Circinus (1.5-stream-2025-Q2) board.
dmbaturin moved this task from Need Triage to Completed on the VyOS Rolling board.