Check what process is using the CPU. I have been having problems when the PPPoE connection goes up and down Suricata pins the CPU. I'm on a quad core machine and it pins two of them, so I don't really notice. Restarting Suricata makes it stop (though Suricata does use high CPU for the first few tens of seconds as it goes through rules and sets itself up, then it settles).If that solves it for you then I think we have found a bug.
os-ddclient (installed) os-dmidecode (installed)os-net-snmp (installed)os-qemu-guest-agent (installed)os-theme-cicada (installed) os-upnp (installed)os-zabbix-agent (installed)
last pid: 50791; load averages: 0.77, 0.88, 0.91 up 0+19:41:10 08:14:141474 processes:1 running, 1470 sleeping, 3 waitingCPU: 0.2% user, 0.0% nice, 8.2% system, 0.4% interrupt, 91.2% idleMem: 5167M Active, 4096B Inact, 1326M Laundry, 1244M Wired, 704M Buf, 31M FreeSwap: 10G Total, 10G Used, K Free, 100% Inuse, 4096B In PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND43369 root 1 20 0 20M 5440K CPU3 3 0:03 1.81% top 6653 root 14 52 0 96M 24M usem 3 0:01 0.09% python3.947530 root 1 20 0 17M 1220K select 3 1:53 0.06% miniupnpd49876 root 1 52 0 13M 2056K select 0 0:00 0.05% logger23284 root 4 20 0 46M 2544K kqread 2 2:28 0.04% syslog-ng62628 root 1 29 0 56M 15M nanslp 2 0:00 0.04% php20246 root 1 24 0 56M 15M nanslp 1 0:00 0.03% php50310 root 1 52 0 13M 1912K pfault 1 0:00 0.03% logger99462 root 2 20 0 21M 6212K select 0 0:00 0.03% ntpd43175 root 1 21 0 56M 15M select 0 0:00 0.03% php77922 zabbix 1 20 0 21M 1244K accept 1 0:33 0.02% zabbix_agentd86374 root 1 20 0 23M 5992K select 1 0:10 0.02% python3.985938 root 1 20 0 23M 4848K select 0 0:11 0.02% python3.978578 zabbix 1 20 0 21M 1112K vmwait 0 0:33 0.02% zabbix_agentd50067 root 1 52 0 13M 1912K select 0 0:00 0.02% logger81919 root 1 21 0 56M 15M select 0 0:00 0.02% php83545 root 1 20 0 21M 2740K kqread 1 0:10 0.01% lighttpd33910 root 1 20 0 34M 2248K select 2 0:19 0.01% snmpd78009 zabbix 1 20 0 21M 1112K vmwait 0 0:32 0.01% zabbix_agentd77614 zabbix 1 20 0 21M 4544K nanslp 0 0:11 0.01% zabbix_agentd51456 root 1 20 0 56M 15M select 1 0:00 0.01% php36083 root 1 20 0 18M 3676K select 0 0:00 0.00% sshd50499 root 1 52 0 13M 1912K select 0 0:00 0.00% logger36234 root 1 21 0 13M 2048K pfault 2 0:00 0.00% filterlog10235 root 1 52 0 13M 852K wait 1 0:25 0.00% dhcp6c67879 root 1 20 0 13M 8192B kqread 1 0:10 0.00% <rtsold> 391 root 1 20 0 11M 688K select 3 0:07 0.00% devd69691 root 1 20 0 13M 1568K select 1 0:06 0.00% rtsold97251 root 1 20 0 40M 8192B nanslp 0 0:06 0.00% <perl>
Hi!I just want to add my 10cents. I've had the same thing happen twice now in the space of the last 2 weeks. Also starting at 03:00 in the morning and consuming all CPU. top showed ~20 zombie processes and php as the main culprit.Installed plugins are * acme* dds* hw-probe* nut* smart* theme-cicada* theme-vicune* udpbroadcastrelay* wireguardThe only thing I know of that's running at 03:00 is a WAN IF reset cron entry, which I have now disabled. If it happens again, I'll try and collect some more info.
root@OPNsense:~ # ps awwux |grep 227root 227 0.0 4.9 464000 101644 - S 22:14 45:23.85 /usr/local/bin/python3 /usr/local/opnsense/service/configd.py console (python3.9)root 22718 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 42272 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 62274 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 force
root 19433 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 19581 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 20116 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 20135 0.0 0.7 56884 15268 - S 07:18 0:00.16 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 20151 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 20298 0.0 0.7 60984 13412 - S 07:18 0:00.63 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 20308 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 20326 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 20336 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 20423 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 20584 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 20843 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 21114 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 21223 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 21328 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 21481 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 21788 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 21838 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 21864 0.0 0.9 60984 18416 - S 07:18 0:00.37 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 22069 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 22368 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 22481 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 22573 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 22632 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 22718 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 22935 0.0 0.0 51184 8 - SW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 22991 0.0 0.6 56884 12004 - S 07:18 0:00.18 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 23125 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 23131 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 23149 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 23187 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 23257 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 23640 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 23641 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 23695 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 23712 0.0 0.0 51184 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.filter_configureroot 23757 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 forceroot 23836 0.0 0.0 53300 8 - IW - 0:00.00 /usr/local/bin/php /usr/local/etc/rc.newwanipv6 pppoe0 force
looks like a queue of scripts wanting to configure the filter?any clue in general or backend log?
# cat /var/cron/tabs/*# cat /usr/local/etc/cron.d/*