Can not allocate memory but I have plenty

  • 2.3.4-RELEASE (amd64)
    built on Wed May 03 15:13:29 CDT 2017
    FreeBSD 10.3-RELEASE-p19

    This seems odd.  I'm using the lashback bl and I have plenty of ram allocated: 2500000 but I still get this error and only on this BL:

    System > Advanced > Firewall Maximum Table Entries > 2500000

    There were error(s) loading the rules: /tmp/rules.debug:50: cannot define table pfB_lashback_bl: Cannot allocate memory - The line in question reads [50]: table <pfB_lashback_bl> persist file "/var/db/aliastables/pfB_lashback_bl.txt"

    The BL is working and I can access it from the network behind the firewall so it's not a block or something:

    The DB is there ^

    /var/db/aliastables: ls -lah | grep lash
    -rw-r--r--   1 root  wheel    34M May  8 00:01 pfB_lashback_bl.txt

    The db looks like it downloaded OK to the PFSense, it's in the IPv4 tab and not the DNSbl tab.

    I'm just a bit stumped as to why it won't load it up or perhaps it has.

    I'm still playing with things to see if it's a setting on my end or something…just not sure.

    It seems PFBng doesn't like something in the BL from Lashback but I'm not certain what it might be.  It looks normal to me!

    Summary page on the front that looks at PFBng but it didn't load any IP's!

    pfB_lashback_bl	0	0

    The log:

    Updating: pfB_lashback_bl
    1 table created.pfctl: Cannot allocate memory.

    2477795 /var/db/pfblockerng/deny/lashback.txt

    Lashback just doesn't seem to load and work but it does on other FW's I have of different versions of PFSense.

  • Moderator

    The pfSense Max Table entries is a table setting for all aliastables in total…

    grep -c ^ /var/db/aliastables/*.txt 

    And it usually needs about 30% more…

Log in to reply