PHP crash report
-
Hi,
i Just received a PHP crash dump report on my Netgate 5100 :
Crash report begins. Anonymous machine information:
amd64
12.3-STABLE
FreeBSD 12.3-STABLE plus-RELENG_22_05-n202700-3ddaea61055 pfSenseCrash report details:
PHP Errors:
[26-Aug-2022 21:52:29 Europe/Brussels] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /usr/local/www/diag_command.php on line 174
[26-Aug-2022 21:52:29 Europe/Brussels] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 24576 bytes) in /usr/local/www/csrf/csrf-magic.php on line 149No FreeBSD crash data found.
The PHP_errors.log file just contains the two errors above, no extra information.
It's doesn't seem to have any impact on using the GUI, just reporting it here.Hans
-
What command were you trying to run in Diag > Command Prompt?
Usually those errors are caused by running something there that creates more output than the maximum PHP memory can allow.
Command like that should be run at the CLI only.Steve
-
@stephenw10 sorry for the late reply.
I noticed this error upon loggin in. Hadn't logged in for quite a while, so I have no clue what could have caused this.
Hans
-
@hansve That error is because something was run on Diagnostics > Command prompt that exceeded the memory allocated to render a page in php.
Without knowing what was run it's pretty much impossible to diagnose further.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy