diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-04-12 09:01:26 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-04-12 09:03:25 +0200 |
| commit | 4af2579d8a6f73f4fc61c0d30d09695f07bf6940 (patch) | |
| tree | 09245927be9db9a66dea96c94d9a2765acf75391 /python | |
| parent | b7d191cd3053a736fa14ebfefe7a95093b0fcacd (diff) | |
| download | vyos-1x-4af2579d8a6f73f4fc61c0d30d09695f07bf6940.tar.gz vyos-1x-4af2579d8a6f73f4fc61c0d30d09695f07bf6940.zip | |
vyos-netlinkd: T8486: fix high-cpu utilisation due to excessive CLI calls
strace: Process 16362 attached
[pid 16362] execve("/bin/cli-shell-api", ["/bin/cli-shell-api", "--show-active-only", "showConfig", "interfaces"], ...) = 0
[pid 16362] +++ exited with 0 +++
--- SIGCHLD ...
strace: Process 16363 attached
[pid 16363] execve("/bin/cli-shell-api", ["/bin/cli-shell-api", "--show-active-only", "showConfig", "interfaces"], ...) = 0
[pid 16363] +++ exited with 0 +++
--- SIGCHLD ...
This would appear to be due to vyos-netlinkd calling op_mode_config_dict() more
than is necessary: it can be called only when it may be applicable (this patch).
Co-Authored-by: John Estabrook <jestabro@vyos.io>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
