PHP crash report
-
Greetings. pfSense notified me of a crash with info as follows. I am running 2.6.0 on a Qotom box with only the Service_Watchdog package. pfSense seems normal.
Crash report begins. Anonymous machine information: amd64 12.3-STABLE FreeBSD 12.3-STABLE RELENG_2_6_0-n226742-1285d6d205f pfSense Crash report details: PHP Errors: [03-Jul-2022 13:17:45 US/Pacific] 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 [03-Jul-2022 13:18:43 US/Pacific] 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 No FreeBSD crash data found.
-
Something was run in Diag > Command Prompt that tried to return more data than the php limit allows.
Steve
-
@stephenw10 Hmm, I wasn't running anything in command prompt then, though I did have a command prompt open that I had used to execute a
dig
command weeks earlier. I wonder whether command prompt leaks? Also viatop
I noticed someping
processes that I had created via the command prompt weeks ago, still hanging around. Some had ~64M memory usage.Is there any logging of what was run in command prompt?
-
No directly, no.
If you run ping there be sure to specify a count. Any commands run there must have a limited time or output set.
Steve