Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    pfBlockerNG errors when GoeIP enabled

    Scheduled Pinned Locked Moved pfBlockerNG
    8 Posts 4 Posters 3.8k Views 4 Watching
    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.
    • T
      Techsanity
      last edited by

      I have only been using pfSense a couple weeks now and I installed pfBlockerNG to use for ad blocking. That has been working fine.
      Then I saw you could also use it to block other countries using GeoIP. I watched a quick video on setting it up / using it. Highlight what you want then choose the list action and then save.
      after doing this I started seeing a red notification bell and these are an example of the errors I'm getting

      Filter Reload
      	•	There were error(s) loading the rules: /tmp/rules.debug:30: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [30]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt"
@ 2018-08-08 19:23:48
      	•	There were error(s) loading the rules: /tmp/rules.debug:30: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [30]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt"
@ 2018-08-08 19:25:01
      	•	There were error(s) loading the rules: /tmp/rules.debug:30: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [30]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt"
@ 2018-08-08 19:26:32
      	•	There were error(s) loading the rules: /tmp/rules.debug:30: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [30]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt"
@ 2018-08-08 19:30:09
      	•	There were error(s) loading the rules: /tmp/rules.debug:30: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [30]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt"
@ 2018-08-08 19:30:38
      	•	There were error(s) loading the rules: /tmp/rules.debug:32: cannot load "/var/db/aliastables/pfB_Top_v6.txt": No such file or directory - The line in question reads [32]: table <pfB_Top_v6> persist file "/var/db/aliastables/pfB_Top_v6.txt"
@ 2018-08-08 19:31:58
      	•	
      
      
      1 Reply Last reply
      Reply Quote 0
      • BBcan177B
        BBcan177 Moderator
        last edited by

        In pfSense > System > Advanced > Firewall & NAT > "Firewall Maximum Table Entries"

        The package should default that to "2000000" entries.

        Follow that with a Filter Reload

        "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/

        B 1 Reply Last reply
        Reply Quote 2
        • T
          Techsanity
          last edited by Techsanity

          That setting was default to 400000. I'll change it and try again.
          Thanks
          Edit: Tried and works without errors now.
          Thanks

          1 Reply Last reply
          Reply Quote 0
          • B
            BrainLinq @BBcan177
            last edited by

            @BBcan177 said in pfBlockerNG errors when GoeIP enabled:

            In pfSense > System > Advanced > Firewall & NAT > "Firewall Maximum Table Entries"

            The package should default that to "2000000" entries.

            Follow that with a Filter Reload

            Hello,

            I have 2 new Netgate firewalls and they both had this issue. I set the "Firewall Maximum Table Entries" as directed on both... the problem is resolved on one and is still occurring on one.

            Error:

            There were error(s) loading the rules: /tmp/rules.debug:48: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [48]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt"
            @ 2019-08-20 10:26:33
            
            

            Any other ideas?

            Thanks!

            RonpfSR 1 Reply Last reply
            Reply Quote 0
            • RonpfSR
              RonpfS @BrainLinq
              last edited by

              @BBcan177 said in pfBlockerNG errors when GoeIP enabled:

              In pfSense > System > Advanced > Firewall & NAT > "Firewall Maximum Table Entries"

              The package should default that to "2000000" entries.

              Follow that with a Filter Reload

              Increase Firewall Maximum Table Entries again.

              2.4.5-RELEASE-p1 (amd64)
              Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
              Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

              B 1 Reply Last reply
              Reply Quote 0
              • B
                BrainLinq @RonpfS
                last edited by

                @RonpfS said in pfBlockerNG errors when GoeIP enabled:

                @BBcan177 said in pfBlockerNG errors when GoeIP enabled:

                In pfSense > System > Advanced > Firewall & NAT > "Firewall Maximum Table Entries"

                The package should default that to "2000000" entries.

                Follow that with a Filter Reload

                Increase Firewall Maximum Table Entries again.

                I increased it to 3000000 and had the same issue when reloading the filter.

                What is the maximum upper limit?

                The systems are:
                Netgate SG-3100
                ARM Cortex-A9 r4p1 (ECO: 0x00000000)
                Multiprocessing, Thumb2, Security, VMSAv7, Coherent Walk
                2 CPUs:
                SOC: Marvell 88F6820, TClock 250MHz, Frequency 1600MHz
                Crypto: Marvell Cryptographic Engine and Security Accelerator
                2028 MiB memory

                RonpfSR 1 Reply Last reply
                Reply Quote 0
                • RonpfSR
                  RonpfS @BrainLinq
                  last edited by

                  @BrainLinq Did you ran a Force Reload All ?
                  2GB isn't much memory if you are using DNSBL.

                  2.4.5-RELEASE-p1 (amd64)
                  Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                  Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                  BBcan177B 1 Reply Last reply
                  Reply Quote 0
                  • BBcan177B
                    BBcan177 Moderator @RonpfS
                    last edited by

                    After changing the "Max Table Entries", try a Reboot.

                    "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

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post
                    Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                    Privacy Policy · Cookie Policy