Every 24 hours ican see this behaviour in my firewall:
---- Muestra Sun Nov 30 10:00:42 CET 2025 ----
last pid: 72722; load averages: 0.10, 0.10, 0.08 up 2+00:28:34 10:00:42
90 threads: 1 running, 88 sleeping, 1 zombie
CPU: 0.6% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.0% idle
Mem: 227M Active, 670M Inact, 2912M Wired, 56K Buf, 27G Free
ARC: 2105M Total, 1288M MFU, 660M MRU, 836K Anon, 23M Header, 130M Other
1802M Compressed, 4146M Uncompressed, 2.30:1 Ratio
Swap: 8192M Total, 8192M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
80838 root 21 0 323M 235M kqread 5 13:02 0.20% /usr/local/bin/python3 /usr/local/opnsense/scripts/unbound/logger.py (python3.11){python3.11}
---- Muestra Sun Nov 30 10:00:50 CET 2025 ----
last pid: 30905; load averages: 0.08, 0.10, 0.08 up 2+00:28:42 10:00:50
93 threads: 1 running, 92 sleeping
CPU: 0.6% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.0% idle
Mem: 235M Active, 670M Inact, 2912M Wired, 56K Buf, 27G Free
ARC: 2105M Total, 1289M MFU, 659M MRU, 1271K Anon, 23M Header, 130M Other
1802M Compressed, 4146M Uncompressed, 2.30:1 Ratio
Swap: 8192M Total, 8192M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
442 root 23 0 59M 34M accept 7 0:02 0.88% /usr/local/bin/php-cgi
---- Muestra Sun Nov 30 10:01:39 CET 2025 ----
last pid: 1475; load averages: 1.33, 0.40, 0.19 up 2+00:29:31 10:01:39
91 threads: 1 running, 89 sleeping, 1 zombie
CPU: 0.6% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.0% idle
Mem: 236M Active, 2070M Inact, 4468M Wired, 56K Buf, 24G Free
ARC: 2190M Total, 1257M MFU, 776M MRU, 1576K Anon, 23M Header, 130M Other
1799M Compressed, 4140M Uncompressed, 2.30:1 Ratio
Swap: 8192M Total, 8192M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
80838 root 63 0 1914M 1644M kqread 6 13:09 21.97% /usr/local/bin/python3 /usr/local/opnsense/scripts/unbound/logger.py (python3.11){python3.11}
---- Muestra Sun Nov 30 10:01:42 CET 2025 ----
last pid: 5519; load averages: 1.33, 0.40, 0.19 up 2+00:29:34 10:01:42
90 threads: 1 running, 88 sleeping, 1 zombie
CPU: 0.6% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.0% idle
Mem: 236M Active, 2070M Inact, 4468M Wired, 56K Buf, 24G Free
ARC: 2190M Total, 1257M MFU, 776M MRU, 1576K Anon, 23M Header, 130M Other
1799M Compressed, 4140M Uncompressed, 2.30:1 Ratio
Swap: 8192M Total, 8192M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
80838 root 39 0 1914M 1644M kqread 6 13:09 15.19% /usr/local/bin/python3 /usr/local/opnsense/scripts/unbound/logger.py (python3.11){python3.11}
---- Muestra Sun Nov 30 10:01:51 CET 2025 ----
last pid: 8403; load averages: 1.21, 0.40, 0.19 up 2+00:29:43 10:01:51
90 threads: 1 running, 88 sleeping, 1 zombie
CPU: 0.6% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.0% idle
Mem: 233M Active, 2074M Inact, 4468M Wired, 56K Buf, 24G Free
ARC: 2186M Total, 1253M MFU, 776M MRU, 1576K Anon, 23M Header, 130M Other
1797M Compressed, 4138M Uncompressed, 2.30:1 Ratio
Swap: 8192M Total, 8192M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
80838 root 39 0 1914M 1644M kqread 6 13:10 5.66% /usr/local/bin/python3 /usr/local/opnsense/scripts/unbound/logger.py (python3.11){python3.11}
Sizing in logger.py increase from 323 Mb to 1914Mb, is this normal?
Any recomandation?.
It´s increasing my memory usage too
Do you have query logging enabled in Unbound?