• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Can not allocate memory but I have plenty

Scheduled Pinned Locked Moved pfBlockerNG
2 Posts 2 Posters 762 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    pdrass
    last edited by May 8, 2017, 1:00 PM

    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:  http://www.unsubscore.com/blacklist.txt

    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.

    1 Reply Last reply Reply Quote 0
    • B
      BBcan177 Moderator
      last edited by May 8, 2017, 3:20 PM

      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…

      "Experience is something you don't get until just after you need it."

      Website: http://pfBlockerNG.com
      Twitter: @BBcan177  #pfBlockerNG
      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received