last pid: 52507; load averages: 2.00, 1.59, 0.85 up 0+00:07:13 15:01:4447 processes: 2 running, 45 sleepingCPU: 24.8% user, 0.0% nice, 0.3% system, 0.7% interrupt, 74.2% idleMem: 207M Active, 189M Inact, 776M Wired, 40K Buf, 2733M FreeARC: 312M Total, 163M MFU, 121M MRU, 5516K Anon, 2097K Header, 21M Other 248M Compressed, 609M Uncompressed, 2.45:1 RatioSwap: 8192M Total, 8192M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND73471 root 1 103 0 37M 24M CPU3 3 5:45 99.55% python3.9 9049 root 1 20 0 14M 3816K CPU1 1 0:00 0.37% top55338 root 1 20 0 34M 14M select 0 0:01 0.19% snmpd 3053 root 1 20 0 18M 7600K select 2 0:00 0.10% sshd
ps awwux | grep python
root@fw-addars:~ # ps awwux | grep pythonroot 21837 100.0 0.7 43104 30936 - Rs 16:45 25:49.91 /usr/local/bin/python3 /usr/local/opnsense/scripts/netflow/flowd_aggregate.py (python3.9)root 273 0.1 0.9 75060 37460 - S 16:44 0:28.82 /usr/local/bin/python3 /usr/local/opnsense/service/configd.py console (python3.9)root 268 0.0 0.5 36256 22692 - Is 16:43 0:03.69 /usr/local/bin/python3 /usr/local/opnsense/service/configd.py (python3.9)root 21359 0.0 0.4 25764 15512 - Ss 16:45 0:05.88 /usr/local/bin/python3 /usr/local/opnsense/scripts/dhcp/unbound_watcher.py --domain home.addars (python3.9)root 78987 0.0 0.3 23736 12468 - S 16:45 0:01.42 /usr/local/bin/python3 /usr/local/sbin/configctl -e -t 0.5 system event config_changed (python3.9)root 92022 0.0 0.3 23972 12580 - S 16:45 0:01.37 /usr/local/bin/python3 /usr/local/opnsense/scripts/syslog/lockout_handler (python3.9)root 30635 0.0 0.1 12748 2364 0 S+ 17:11 0:00.01 grep python
root@fw-addars:/var/log # ls -latotal 155759drwxr-xr-x 21 root wheel 45 Jan 21 03:01 .drwxr-xr-x 32 root wheel 32 Nov 30 15:52 ..drwx------ 2 root wheel 34 Jan 21 18:01 audit-rw-r--r-- 1 root wheel 389 Jan 21 17:40 boot.logdrwx------ 2 root wheel 34 Jan 21 18:01 configddrwx------ 2 root wheel 3 Mar 26 2022 ddclientdrwx------ 2 root wheel 34 Jan 21 18:01 dhcpd-rw------- 1 root wheel 8864 Jan 16 03:01 dmesg.today-rw------- 1 root wheel 8788 Jan 8 03:01 dmesg.yesterdaydrwx------ 2 root wheel 32 Jan 21 18:01 filterdrwx------ 2 root wheel 34 Jan 21 18:01 firewall-rw------- 1 root wheel 524907868 Jan 21 18:02 flowd.log-rw------- 1 root wheel 10559868 Jan 7 20:03 flowd.log.000001-rw------- 1 root wheel 10599372 Jan 7 17:38 flowd.log.000002-rw------- 1 root wheel 10543036 Jan 7 14:46 flowd.log.000003-rw------- 1 root wheel 10600272 Jan 7 12:48 flowd.log.000004-rw------- 1 root wheel 10499572 Jan 7 10:36 flowd.log.000005-rw------- 1 root wheel 10488136 Jan 7 04:08 flowd.log.000006-rw------- 1 root wheel 10695200 Jan 6 23:15 flowd.log.000007-rw------- 1 root wheel 10545080 Jan 6 20:21 flowd.log.000008-rw------- 1 root wheel 10547372 Jan 6 17:45 flowd.log.000009-rw------- 1 root wheel 10565036 Jan 6 15:04 flowd.log.000010drwx------ 2 root wheel 34 Jan 21 18:01 gateways
I removed the logfiles and tried with Capture Local again
configctl netflow flush
QuoteI removed the logfiles and tried with Capture Local againits better do it with Reporting: Settings->Reset Netflow data or Code: [Select]configctl netflow flushimho
root@fw-addars:/var/log # ps awwux | grep pythonroot 21972 0.7 0.4 30304 18376 - Ss 19:40 0:04.16 /usr/local/bin/python3 /usr/local/opnsense/scripts/netflow/flowd_aggregate.py (python3.9)root 267 0.0 0.5 36256 22692 - Is 17:39 0:03.71 /usr/local/bin/python3 /usr/local/opnsense/service/configd.py (python3.9)root 272 0.0 1.1 82740 45220 - I 17:39 0:36.59 /usr/local/bin/python3 /usr/local/opnsense/service/configd.py console (python3.9)root 4934 0.0 0.4 25764 15520 - Ss 17:41 0:09.59 /usr/local/bin/python3 /usr/local/opnsense/scripts/dhcp/unbound_watcher.py --domain home.addars (python3.9)root 15093 0.0 0.3 23736 12472 - S 17:41 0:03.31 /usr/local/bin/python3 /usr/local/sbin/configctl -e -t 0.5 system event config_changed (python3.9)root 17100 0.0 0.3 23972 12576 - S 17:41 0:03.16 /usr/local/bin/python3 /usr/local/opnsense/scripts/syslog/lockout_handler (python3.9)root 48519 0.0 0.1 12748 2364 0 S+ 19:41 0:00.01 grep python