SG3100 random PHP crash - 2.4.5-RELEASE-p1
-
Hello All,
I run an SG3100 (2.4.5-RELEASE-p1 (arm)) I got a random PHP error that I am not sure what to do with:
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:
[24-Mar-2021 00:33:23 America/New_York] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 50331656 bytes) in /usr/local/www/diag_command.php on line 172No FreeBSD crash data found.
Does anyone know what I am looking for here? I wasn't logged into the Firewall at the time.
-
@s0m3f00l Take this as an opportunity to upgrade and see whether you still have the problem.
-
@nollipfsense I'm sorry to say that I can't. Too many packages that I use aren't working. Snort Suricata and PFblocker come to mind. 20.01 px isn't ready for the big time yet .
Anyone else got any ideas?
-
@s0m3f00l said in SG3100 random PHP crash - 2.4.5-RELEASE-p1:
/usr/local/www/diag_command.php
Hello!
I dont think this php script will run randomly. I have only seen it run from the gui Diagnostics -> Command Prompt menu item.
Whatever command was run probably generated a huge amount of output for the browser and ran php out of memory.
Check...
clog /var/log/nginx.log | grep diag_command.php
... to see when that command was run last and maybe by whom.
John