Static DHCPv4 hogging memory?

Started by adk20, December 31, 2022, 10:09:11 AM

Previous topic - Next topic
Hi forum,

I am on 22.7.10_2. Yesterday, I configured some static DHCPv4 mappings. With every entry in the mapping table, my memory use increased. After having created three entries, something had hogged all my free memory (6GB) and filled up my entire swap.

Rebooting fixed the issue and everything was back to normal.

Creating more static mapping entries reliably reproduced the issue.

Is this a known bug?

Regards,
adk


Culprit was more likely a IDS/IDP or other resource hungry services being active as well and all clients accessing DNS and internet at same time.

It's quite normal if it doesn't happen often and affect your network in any way and happens in specific situations (like when all clients are most active). If it happens often despite rebooting, then I would start digging deeper into it.

Just keep an eye on it, if with just average usage you face same issue within next few days and your network starts to get affected by it, it is worth looking deeper.

It's also worth noting, that if you are running Maltrail, it is better to disable it.

Maltrail uses by default 10% of available RAM, which is quite a bit for firewall with 6GB RAM. So I would recommend not using it.

DHCP alone hardly would cause RAM usage to maximum, but services like Surricata and proxy can