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

    pfBlockerNG Crashing due to memory error

    pfBlockerNG
    3
    9
    512
    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.
    • D
      dfcookno
      last edited by

      Just started receiving memory allocation errors in pfBlockerNG. Anyone else?

      arm
      11.3-STABLE
      FreeBSD 11.3-STABLE #238 885b1ed26b6(factory-RELENG_2_4_5): Tue Jun 2 17:52:40 EDT 2020 root@buildbot1-nyi.netgate.com:/build/factory-crossbuild-245-armv6/obj/armv6/kJlGauaG/arm.armv6/build/factory-crossbuild-245-armv6/sources/FreeBSD-src/sys/pfSense

      Crash report details:

      PHP Errors:
      [05-Oct-2020 12:40:57 Etc/GMT+5] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 50331656 bytes) in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 2521
      [06-Oct-2020 07:17:19 Etc/GMT+5] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 50331656 bytes) in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 2521

      No FreeBSD crash data found.

      1 Reply Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8
        last edited by Bob.Dig

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • kiokomanK
          kiokoman LAYER 8
          last edited by kiokoman

          i'm wondering if your config.xml is corrupted
          can you check how big is it?
          is it pfblockerng or pfblockerng-devel ?
          Allowed memory size of 134217728 = 128mb , it's the allowed memory size for php not for table entries in this case

          2521 exec("/usr/bin/grep -l ' \"{$query} 60 IN A' {$pfb['dnsalias']}/*", $match);
          

          dnsalias is too big i suppose, anyway i suggest to uninstall pfblockerng and install pfblockerng-devel

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

          1 Reply Last reply Reply Quote 1
          • D
            dfcookno
            last edited by

            I'm using pfblockerng not pfblockerng-devel. Here is the php install location.
            060e273c-236a-4582-865f-812510afdc93-image.png

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

              Still getting crash errors.

              Crash report begins. Anonymous machine information:

              arm
              11.3-STABLE
              FreeBSD 11.3-STABLE #238 885b1ed26b6(factory-RELENG_2_4_5): Tue Jun 2 17:52:40 EDT 2020 root@buildbot1-nyi.netgate.com:/build/factory-crossbuild-245-armv6/obj/armv6/kJlGauaG/arm.armv6/build/factory-crossbuild-245-armv6/sources/FreeBSD-src/sys/pfSense

              Crash report details:

              PHP Errors:
              [09-Oct-2020 02:30:17 Etc/GMT+5] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 50331656 bytes) in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 2521

              No FreeBSD crash data found.

              1 Reply Last reply Reply Quote 0
              • kiokomanK
                kiokoman LAYER 8
                last edited by

                the config.xml is inside /cf/conf

                pfblockerng is old and no more updated
                please uninstall it and install pfblockerng-devel

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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

                  I've installed the pfblockerng-devel as suggested previously as well. I'll monitor the new version for the next couple of days. Thanks to all who responded so quickly

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

                    Installed pfBlockerng-devel. The config.xml is only 201k

                    -rw-r--r-- 1 root wheel 201k Oct 9 15:46 config.xml

                    in

                    1 Reply Last reply Reply Quote 0
                    • kiokomanK
                      kiokoman LAYER 8
                      last edited by

                      201k is ok !

                      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                      Please do not use chat/PM to ask for help
                      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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