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

    There were error(s) loading the rules

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 1.1k 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.
    • K
      Kanky
      last edited by

      Hi Guys,

      I started having some connectivity issues late last week. The WAN connection was dropping out intermittently

      I left it over the weekend as I assumed it was an IP provider issue as the PF Sense box has been running without an issue for months!

      When I log into PFSesne this morning I see multiple messages:

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

      I also upgraded to the latest version 2.4.1 to see if that helped clear the errors but they are still there and the Wan connection keeps dropping.

      I have a computer plugged into the IP modem and it has connection without any issues.

      Is this likely that these issues are connected? Any idea how I can fix them?

      Edit

      I am also seeing:

      pf_busy

      PF was wedged/busy and has been reset. @ 2017-10-31 11:16:48
      Filter Reload

      There were error(s) loading the rules: pfctl: DIOCXCOMMIT: Device busy - The line in question reads [0]: @ 2017-10-31 11:16:49

      1 Reply Last reply Reply Quote 0
      • M
        masterd01
        last edited by

        Same here:

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

        Sometimes also:

        There were error(s) loading the rules: /tmp/rules.debug:34: cannot define table XXX_Netze: Cannot allocate memory - The line in question reads [34]: table <xxx_netze>{  94.XX/20  92.XXX/21  2a00:XXX::/29 }</xxx_netze></bogonsv6>

        1 Reply Last reply Reply Quote 0
        • M
          masterd01
          last edited by

          Hi,

          the Problem is coming over many times a day.
          Does nobody else has had this problem?

          Thanks

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan
            last edited by

            This is the key word :

            Cannot allocate memory
            

            Also check drive space and disk allocations.

            If needed, stop en remove the "memory eaters" (packages - and I'm not talking about the cron - or note package here  ;))

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • M
              masterd01
              last edited by

              @Gertjan:

              This is the key word :

              Cannot allocate memory
              

              Also check drive space and disk allocations.

              If needed, stop en remove the "memory eaters" (packages - and I'm not talking about the cron - or note package here  ;))

              Hi Gertjan,

              that's not a Problem of mine. The Server has a CPU Load from 3-4 Percent and a low Mem usage.
              I found out that the Message and the Problem happen, if a Gateway has Packetloss and it's marked as down. Than the Error is generated. Also if the GW is coming up again. I think this is a bug that has been checked.
              As workaround i disabled the gateway-check. Than nothing error happen.

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