Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Static DHCPv4 hogging memory?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Static DHCPv4 hogging memory? (Read 1052 times)
adk20
Newbie
Posts: 46
Karma: 3
Static DHCPv4 hogging memory?
«
on:
December 31, 2022, 10:09:11 am »
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
Logged
EdwinKM
Full Member
Posts: 155
Karma: 5
Re: Static DHCPv4 hogging memory?
«
Reply #1 on:
December 31, 2022, 10:58:34 am »
i do not see it
https://github.com/opnsense/core/issues?q=is%3Aissue+is%3Aopen+dhcp
Logged
Vilhonator
Full Member
Posts: 245
Karma: 13
Re: Static DHCPv4 hogging memory?
«
Reply #2 on:
January 01, 2023, 01:43:08 pm »
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.
Logged
Vilhonator
Full Member
Posts: 245
Karma: 13
Re: Static DHCPv4 hogging memory?
«
Reply #3 on:
January 01, 2023, 02:13:56 pm »
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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Static DHCPv4 hogging memory?