Memory leak or not?

Started by droumanet, January 16, 2026, 07:16:14 PM

Previous topic - Next topic
Hi there,

I manage my firewall with Zabbix since few days, because having lot of trouble (many crashes) on my OPNsense firewall. Well, after two days, it seems there is a memory leak, but maybe, the firewall will update it processes and release all the memory?
Are some of you able to share same graph to see the health of our firewalls? Datas are coming from Zabbix agent.

Check if your issue is related to this : https://forum.opnsense.org/index.php?topic=49552.msg256645#msg256645

TL;DR : DNSmasqd crashing because of a possible memory leak...
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

I've not enabled this service, only Unbound DNS.
But I'll have a look to a way to monitor precisely processes RAM consumption.

I think it's not a memory leak, but the way FreeBSD manage memory (to avoid disk caching).
Solved (I hope... a crash with lagg0 has reset my statistics)

I hadn't thought of differences in utilities - how does it look in top, for instance?

[...]
Mem: 101M Active, 363M Inact, 2732M Wired, 104K Buf, 27G Free
ARC: 1357M Total, 767M MFU, 407M MRU, 9081K Anon, 23M Header, 149M Other
    1047M Compressed, 3182M Uncompressed, 3.04:1 Ratio
[...]

The ARC allocation (generally) grows from boot to a stable level. Some memory utilization reports neglect/subtract ARC (e.g. the percentage reported in the dashboard widget), so memory usage may appear more stable. So yes, a characteristic of FreeBSD (with ZFS, at least).