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.
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.