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

PHP crash report

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 2 Posters 494 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.
  • B
    bPsdTZpW
    last edited by Jul 5, 2022, 9:33 PM

    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.
    
    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Jul 5, 2022, 10:05 PM

      Something was run in Diag > Command Prompt that tried to return more data than the php limit allows.

      Steve

      B 1 Reply Last reply Jul 6, 2022, 1:55 AM Reply Quote 0
      • B
        bPsdTZpW @stephenw10
        last edited by bPsdTZpW Jul 6, 2022, 1:59 AM Jul 6, 2022, 1:55 AM

        @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 via top I noticed some ping 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?

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Jul 6, 2022, 1:12 PM

          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

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received