Pfsense error cannot define table bogonsv6: Cannot allocate memory
I updated some Pfsense rules and reloaded the settings but they never seemed to take effect. I did a couple of changes then realized my firewall is getting an error message during reload
There were error(s) loading the rules: /tmp/rules.debug:18: cannot define table bogonsv6: Cannot allocate memory - The line in question reads : table persist file "/etc/bogonsv6"
I’m running Pfsense v2.4.1 on a Dell R610 server with 16GB of ram.
This is what I was able to determine.
First I sshd into the firewall and checked how many lines in /etc/bogonsv6
[2.4.1-RELEASE][email@example.com]/root: wc -l /etc/bogonsv6 95952 /etc/bogonsv6
Next checked the System > Advanced > Firewall & NAT > Firewall Maximum Table Entries
Looks like the default is 200,000 entries. That number will probably need to be increased.
I increased mine to 300,000 entries, and my rules automatically reloaded. No need to reboot the firewall the new number of Firewall Table Entries updated dynamically.
Everything is working now.