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

    Cannot define table bogonsv6: Cannot allocate memory

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 7 Posters 1.8k 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.
    • F
      fabienfs
      last edited by

      Hello,

      Since a few days, I have this error :

      There were error(s) loading the rules: /tmp/rules.debug:23: cannot define table bogonsv6: Cannot allocate memory - The line in question reads [23]: table <bogonsv6> persist file "/etc/bogonsv6"
      

      There are 95952 lines in the file bogonsv6 :

      - wc -l /etc/bogonsv6
         95952 /etc/bogonsv6
      
      

      pfSense version : 2.4.1-RELEASE

      What should I do ?

      Thanks for your help

      Best Regards,
      Fabien

      1 Reply Last reply Reply Quote 0
      • GrimsonG
        Grimson Banned
        last edited by

        https://forum.pfsense.org/index.php?action=search

        1 Reply Last reply Reply Quote 0
        • D
          disposable_teen
          last edited by

          @Grimson:

          https://forum.pfsense.org/index.php?action=search

          Wow, this is a useless reply. A search for this topic actually returns this thread, since OP put in so much detail to their question.

          you could have pointed them
          here https://forum.pfsense.org/index.php?topic=146036.0
          or
          here https://forum.pfsense.org/index.php?topic=145990.msg793804#msg793804

          but you wasted not just op's time, but mine and I'm sure other's as well (cause google is a thing, y'all) to post a snarky reply.

          For the sake of those that actually come here for help, Please Go Away. Your above message contributes nothing to this thread.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            For reference if you hit that issue go to System > Advanced > Firewall & NAT and set the field "Firewall Maximum Table Entries" to 400000.

            Then go to Status > Filter Realod and make sure it loads cleanly without generating new alerts.

            Steve

            W 1 Reply Last reply Reply Quote 0
            • W
              Web2Print @stephenw10
              last edited by

              @stephenw10 said in Cannot define table bogonsv6: Cannot allocate memory:

              400000

              I followed your instructions and yet on the Filter Reload I now get only one alert error as follows:

              Filter Reload

              There were error(s) loading the rules: /tmp/rules.debug:31: cannot define table pfB_Europe_v4: Cannot allocate memory - The line in question reads [31]: table &lt;pfB_Europe_v4&gt; persist file &quot;/var/db/aliastables/pfB_Europe_v4.txt&quot;
              @ 2019-03-25 13:07:16
              

              I tried the Status > Filter Reload several times and always get the pfb_Europe_v4 table.

              Wonder is something is wrong with that particular table?

              RonpfSR 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                @fabienfs said in Cannot define table bogonsv6: Cannot allocate memory:

                pfSense version : 2.4.1-RELEASE
                What should I do ?

                Update would be the first freaking thing.. 2.4.4p2 is current

                His point is if you would search for the exact subject of your post you would of found your problem asked and answered multiple times already.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                  @Web2Print
                  Did you try to increase to 600000 ...
                  and did you do a Force Reload All under pfblockerNG / Update tab?

                  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
                  • stephenw10S
                    stephenw10 Netgate Administrator @johnpoz
                    last edited by

                    @johnpoz That was like a year ago. 😉

                    @Web2Print Yeah you can increse that further to, say, 1M.
                    However that error is not due to table size or memory exhaustion. It's because the table defined by pfBlocker has not been populated. That would normally be updated automatically but you should force an update in pfBlocker to be sure.

                    Steve

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