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

PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 24576 bytes) in /etc/inc/system.inc on line 3435

Scheduled Pinned Locked Moved General pfSense Questions
5 Posts 3 Posters 586 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
    HorstZimmermann
    last edited by HorstZimmermann Jun 8, 2024, 6:28 AM Jun 8, 2024, 6:26 AM

    Hello today i got this error, system was fully working (at least i did not notice any problems) and webui was reachable

    PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 24576 bytes) in /etc/inc/system.inc on line 3435
    

    pfSense plus on whitebox
    24.03-RELEASE (amd64)
    built on Wed Apr 24 19:38:00 CEST 2024
    FreeBSD 15.0-CURRENT

    all patches installed

    i deleted the error from the webui and rebooted, reboot went fine

    no errors since then.

    is there anything i should be concerned about?

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Jun 8, 2024, 1:50 PM

      Something exhausted the PHP memory (512MB). That could be some page that tried to open something huge. Or a command run via the gui command prompt perhaps.

      H 1 Reply Last reply Jun 12, 2024, 5:09 AM Reply Quote 0
      • L
        Laxarus
        last edited by Jun 10, 2024, 8:30 PM

        I was getting the same crash for some reason. I increased the php memory limit from System/Advanced/Miscellaneous/PHP Settings.
        I have 32GB memory though so I have plenty to spare.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Jun 10, 2024, 8:47 PM

          It's almost always an error if you see that. PHP shouldn't require that much RAM.

          1 Reply Last reply Reply Quote 0
          • H
            HorstZimmermann @stephenw10
            last edited by HorstZimmermann Jun 12, 2024, 5:11 AM Jun 12, 2024, 5:09 AM

            Strange, it was doing it middle of the night, no one was using internet or was logged in to the firewall....

            No errors sice then, all seems to be good

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