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

    PHP Errors

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 932 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.
    • J
      Jetamp
      last edited by Jetamp

      Don't know if this is useful or not. Just showed up in Diagnostics Crash Reporter. System never seemed to be affected. Happened at night and it was up when I woke up.

      [PHP_errors.log]
      [13-Aug-2022 10:40:05 US/Central] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 268435464 bytes) in /usr/local/www/diag_command.php on line 174
      [13-Aug-2022 10:40:05 US/Central] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 268435464 bytes) in /usr/local/www/diag_command.php on line 174
      [13-Aug-2022 10:40:06 US/Central] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 268435464 bytes) in /usr/local/www/diag_command.php on line 174
      [13-Aug-2022 10:40:08 US/Central] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 268435464 bytes) in /usr/local/www/diag_command.php on line 174

      [30-Sep-2022 00:56:14 US/Central] 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
      [30-Sep-2022 00:56:15 US/Central] 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
      [30-Sep-2022 00:56:27 US/Central] 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
      [30-Sep-2022 00:56:28 US/Central] 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

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @Jetamp
        last edited by

        @jetamp said in PHP Errors:

        diag_command.php

        We’re you running a command through the GUI? (I’m assuming that’s the file for that)

        PHP out of memory can have many causes…reading a big log file, large pfBlocker list/table, etc. it’s not usually a bug in pfSense.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        J 1 Reply Last reply Reply Quote 0
        • J
          Jetamp @SteveITS
          last edited by

          @steveits Nope was asleep the time it happened. I am not concerned about it. Just not sure if this is a reportable bug or not. Thank you for the reply.

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

            Something was left running there at one time and has just now reached the PHP memory limit.

            That's expected if something is run there that requires interaction or fails to finish. It's not a bug.

            Steve

            J 1 Reply Last reply Reply Quote 0
            • J
              Jetamp @stephenw10
              last edited by

              @stephenw10 I leave the dash board web page open on my desktop. Thank you for the reply.

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