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

    PHP crash report

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 849 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.
    • H
      HansVE
      last edited by

      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 pfSense

      Crash 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 149

      No 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

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        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

        H 1 Reply Last reply Reply Quote 0
        • H
          HansVE @stephenw10
          last edited by

          @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

          DerelictD 1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate @HansVE
            last edited by

            @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.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.