SG5100 CPU spike every 2minutes from 3 to 100% after update
-
Hi
After the upgrade of my 5100 from an older version (21 or 22) to 23 or 24 I notice I higher CPU usage from 3-5 to 12-16 and CPU spike to 100%, most of the time resulting in a frozen web interface and my vpn connection was disconnected for 10 to 20 seconds.
I upgrade to 24.11 but same behavior, I try to remove all the Interfaces widget keeping just Sys Info, Services and Gateway.
The CPU came down to 3% but precisely every 2min I have a 100% CPU spike
I have the following packaged install:
aws-wizard
ipsec-profile-wizard
openvpn-client-export
WireGuardI stopped the wireguard service but no change
I have a dozen of client who connect with open vpn and an open VPN link (this 5100 is the client) with another 5100 but before I never had any issue and the linked 5100 is working in the same package and users condition but has no spike issue with a 8% CPU average and was as well upgraded to 24.11
Anyone could help?
Thanks
-
Check the System Activity page or (better) at the CLI run
top -HaSP
and see what's using that CPU when it happens. -
@stephenw10 thanks for your reply stephennw10, I have the following my running top -HaSP
last pid: 64959; load averages: 0.38, 0.29, 0.21 up 9+13:18:26 11:21:08 250 threads: 5 running, 218 sleeping, 27 waiting CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 2: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 3: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 64M Active, 127M Inact, 446M Wired, 205M Buf, 3199M Free Swap: 373M Total, 373M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 187 ki31 0B 64K CPU1 1 226.8H 100.00% [idle{idle: cpu1}] 11 root 187 ki31 0B 64K CPU2 2 226.7H 99.95% [idle{idle: cpu2}] 11 root 187 ki31 0B 64K CPU0 0 226.5H 99.79% [idle{idle: cpu0}] 11 root 187 ki31 0B 64K RUN 3 226.5H 98.96% [idle{idle: cpu3}] 64959 root 20 0 14M 4572K CPU3 3 0:00 0.80% top -HaSP 98206 root 20 0 24M 9976K select 1 0:59 0.21% /usr/local/sbin/openvpn --config /var/et 86500 root 20 0 22M 11M select 2 0:00 0.15% sshd: admin@pts/0 (sshd) 25 root 16 - 0B 16K syncer 0 0:19 0.13% [syncer] 0 root -60 - 0B 848K - 3 5:47 0.12% [kernel{if_config_tqg_0}] 1014 root 20 0 26M 12M select 3 6:07 0.07% /usr/local/sbin/openvpn --config /var/et 12 root -60 - 0B 368K WAIT 3 1:24 0.03% [intr{swi1: netisr 3}] 0 root -60 - 0B 848K - 0 18:23 0.02% [kernel{if_io_tqg_0}] 0 root -60 - 0B 848K - 1 14:12 0.02% [kernel{if_io_tqg_1}] 0 root -60 - 0B 848K - 2 19:22 0.02% [kernel{if_io_tqg_2}] 8 root -16 - 0B 16K mmcreq 3 0:37 0.01% [mmcsd0: mmc/sd card] 6 root -16 - 0B 16K pftm 0 3:49 0.01% [pf purge] 12 root -60 - 0B 368K WAIT 0 1:19 0.01% [intr{swi1: netisr 0}] 53322 root 20 0 13M 3216K nanslp 1 0:24 0.01% /usr/local/bin/dpinger -S -r 0 -i MONVPN 53679 root 20 0 13M 3216K nanslp 1 0:25 0.01% /usr/local/bin/dpinger -S -r 0 -i MONVPN 53322 root 20 0 13M 3216K sbwait 3 0:10 0.01% /usr/local/bin/dpinger -S -r 0 -i MONVPN 12 root -60 - 0B 368K WAIT 0 6:01 0.01% [intr{swi1: netisr 1}] 12 root -60 - 0B 368K WAIT 2 4:16 0.01% [intr{swi1: netisr 2}] 2 root -60 - 0B 64K WAIT 0 0:40 0.01% [clock{clock (0)}] 7 root -16 - 0B 16K - 2 0:58 0.00% [rand_harvestq] 53679 root 20 0 13M 3216K sbwait 1 0:10 0.00% /usr/local/bin/dpinger -S -r 0 -i MONVPN```
-
Hmm, that output looks as expected. There is no significant CPU load shown.
Does it only appear when checking the dashboard in the GUI?