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

pfBlockerNG Crashing due to memory error

Scheduled Pinned Locked Moved pfBlockerNG
9 Posts 3 Posters 514 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.
  • D
    dfcookno
    last edited by Oct 7, 2020, 1:36 PM

    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
    • B
      Bob.Dig LAYER 8
      last edited by Bob.Dig Oct 7, 2020, 1:44 PM Oct 7, 2020, 1:43 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • K
        kiokoman LAYER 8
        last edited by kiokoman Oct 7, 2020, 1:54 PM Oct 7, 2020, 1:44 PM

        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 Oct 9, 2020, 1:15 PM

          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 Oct 9, 2020, 1:18 PM

            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
            • K
              kiokoman LAYER 8
              last edited by Oct 9, 2020, 1:22 PM

              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 Oct 9, 2020, 2:24 PM

                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 Oct 9, 2020, 8:57 PM

                  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
                  • K
                    kiokoman LAYER 8
                    last edited by Oct 9, 2020, 9:55 PM

                    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
                    9 out of 9
                    • First post
                      9/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received