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

    Constant error message with pfBlockerNG - cannot define table pfB_Top_v6

    Scheduled Pinned Locked Moved pfBlockerNG
    15 Posts 3 Posters 3.9k 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.
    • J
      jwalhous
      last edited by

      Hi,
      After choosing Force reload it's been stuck on Active pfBlockerNG CRON JOB running for several hours???

      1 Reply Last reply Reply Quote 0
      • J
        jwalhous
        last edited by

        Hi,
        Active pfBlockerNG CRON JOB running for days now, can anyone please help?

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

          Run the following command to find the pid

          ps aux | grep pfblockerng.php
          

          Example output:

          root    46898   7.0  0.9 234092  36632  -  S     7:30PM     0:00.85 /usr/local/bin/php /usr/local/www/pfblockerng/pfblockerng.php cron
          

          Then to kill the process:

          kill -9 46898
          

          "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
          • J
            jwalhous
            last edited by

            @BBcan177:

            Run the following command to find the pid

            ps aux | grep pfblockerng.php
            

            Example output:

            root    46898   7.0  0.9 234092  36632  -  S     7:30PM     0:00.85 /usr/local/bin/php /usr/local/www/pfblockerng/pfblockerng.php cron
            

            Then to kill the process:

            kill -9 46898
            

            This stops it yes however it happens again next time cron runs

            also my original error is still happening

            I've even tried removing pfblockerNG and reinstalling and this doesn't help either.

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

              @jwalhous:

              Hi,
              Can anyone please suggest a fix for the following error

              There were error(s) loading the rules: /tmp/rules.debug:45: cannot define table pfB_Top_v6: Cannot allocate memory - The line in question reads [45]: table <pfB_Top_v6> persist file "/var/db/aliastables/pfB_Top_v6.txt" @ 2016-09-22 10:05:36

              Regards
              Jamie

              Did you set the

              pfSense / Advanced / Firewall-NAT / Firewall Maximum Table Entries

              to  10000000  ?

              "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
              • J
                jwalhous
                last edited by

                It's set to 14000000 and I have also tried 10000000, error still happening every now and then.
                Thanks for you help with this :-)

                Regards
                Jamie

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

                  What's the memory usage on the FW (Status / Monitoring : System Memory) ?
                  What's the pfsense version, pfblockerNG version, CPU type etc?

                  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

                  1 Reply Last reply Reply Quote 0
                  • J
                    jwalhous
                    last edited by

                    Hi,
                    Running latest versions of everything.
                    Pfsense is running in a vm on a dell r710 server using xenserver 7

                    4 cores and 2 gig of ram, currently its using 47% of the ram.

                    Regards
                    Jamie

                    1 Reply Last reply Reply Quote 0
                    • J
                      jwalhous
                      last edited by

                      Anyone ? this error is annoying and I assume causing pfBlockerNG to not function correctly

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

                        You don't have much memory, on my 2.5GB system, in the last 2 days, free memory is 17-35%.
                        Did you look at the pfblockerng.log ? system log?
                        Double the Firewall Maximum Table Entries until the rules loads.

                        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

                        1 Reply Last reply Reply Quote 0
                        • J
                          jwalhous
                          last edited by

                          Increased Ram to 4gb, no difference error still occurs.
                          I can't see any error in the pfblockerng.log

                          Cheers
                          Jamie

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

                            @jwalhous:

                            Increased Ram to 4gb, no difference error still occurs.
                            I can't see any error in the pfblockerng.log

                            What does this command report?

                            wc -l /var/db/aliastables/*.txt | sort -n
                            

                            Have you tried unchecking "Keep Settings", and Disabling/Enabling the package to see if that clears this issue? (Don't forget to re-enable "keep settings")…

                            Failing the above, you might also want to download/update the MaxMind database to see if that fixes your issue:

                            php /usr/local/www/pfblockerng/pfblockerng.php dc
                            

                            "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
                            • J
                              jwalhous
                              last edited by

                              php /usr/local/www/pfblockerng/pfblockerng.php dc

                              seems to have fixed the issue

                              thanks for your help

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.