OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: pilotboy72 on January 20, 2020, 03:23:48 PM

Title: [SOLVED] Bogon updater can't allocate memory for table
Post by: pilotboy72 on January 20, 2020, 03:23:48 PM
Hello,

Since updating 19.7.9 (and _1), I've been getting the following error consistently:

01-19-20 19:59:23 [ There were error(s) loading the rules: /tmp/rules.debug:17: cannot define table bogonsv6: Cannot allocate memory - The line in question reads [17]: table persist file /usr/local/etc/bogonsv6 ]

This message is showing up as an unread notice in the firewall GUI.  I checked the bogons and bogonsv6 tables under Firewall > Diagnostics > pftables and there is no data in the tables.  Clicking on the "Update Bogons" button on this screen doesn't restore the data.

Anyone else seeing this or have ideas on how to get this to work?

Brian
Title: Re: Bogon updater can't allocate memory for table
Post by: franco on January 21, 2020, 04:14:14 PM
Hi Brian,

Firewall: Settings: Advanced: set Firewall Maximum Table Entries to 5000000 for the large IPv6 bogons or GeoIP data to be loaded correctly.


Cheers,
Franco
Title: Re: Bogon updater can't allocate memory for table
Post by: pilotboy72 on January 22, 2020, 12:35:23 AM
Thanks for responding.  I've updated the setting and will advise if I see anything further, but this makes sense now.
Title: Re: [SOLVED] Bogon updater can't allocate memory for table
Post by: pilotboy72 on January 24, 2020, 09:45:43 PM
No further issues with this.  Marking solved.  Thanks for the help!!