Constant CPU Spikes

Started by Spiky_Gladiator, December 31, 2022, 01:03:09 PM

Previous topic - Next topic
I have noticed that I experience random CPU spikes on default OPNSense install. My CPU is Intel J3160 and I noticed it rapidly jumping from 0% usage to 21% or very often 35% then after a second or two goes down again to 0% then the circle begins again after around 20 - 30 seconds as the usage jumps up again. The highest I ever saw was 40%.

Are these types of CPU spikes normal both for OPNSense and the processor in question or should I be concerned with it ?

Normal and nothing to worry about.
OPNsense 24.7.7 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD

Hi,
I see them too. Maybe they are caused by this cron job:

*   *   *   *   *   (/usr/local/bin/flock -n -E 0 -o /tmp/filter_update_tables.lock /usr/local/opnsense/scripts/filter/update_tables.py) > /dev/null

This job  runs every minute and causes my CPU (same as yours) to spike for about 10 seconds.