pfBlockerNG Crashing due to memory error
-
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/pfSenseCrash 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 2521No FreeBSD crash data found.
-
This post is deleted! -
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 case2521 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
-
I'm using pfblockerng not pfblockerng-devel. Here is the php install location.
-
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/pfSenseCrash 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 2521No FreeBSD crash data found.
-
the config.xml is inside /cf/conf
pfblockerng is old and no more updated
please uninstall it and install pfblockerng-devel -
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
-
Installed pfBlockerng-devel. The config.xml is only 201k
-rw-r--r-- 1 root wheel 201k Oct 9 15:46 config.xml
in
-
201k is ok !