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

    Allowed memory size exhausted

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 4 Posters 1.6k 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.
    • DerelictD
      Derelict LAYER 8 Netgate
      last edited by

      Looks like trying to edit a file using Diagnostics > Edit File that is too large for php to render.

      Try using the shell and vi or ee instead.

      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 0
      • lifeboyL
        lifeboy
        last edited by

        No, it's not anyone doing this!! It happens randomly on a regular basis without anyone logging in. The logs show no logon...

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

          The log entry was from 12 days ago. Maybe someone did it back then?

          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 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate @lifeboy
            last edited by

            @lifeboy said in Allowed memory size exhausted:

            No, it's not anyone doing this!! It happens randomly on a regular basis without anyone logging in. The logs show no logon...

            That cannot be true. The referenced page is only accessible by someone logged into the GUI. If it's not you, then I would make sure the GUI is locked down and change all your passwords at a minimum, or wipe and reload the whole system and reconfigure it from scratch.

            It probably is you, however, but it's an old log message as @Derelict mentioned, in which case it's exactly as he described. Editing a file too large for the Diagnostics > Edit page, so clear the notice/crash report and don't try to edit a file that large in the GUI.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • lifeboyL
              lifeboy
              last edited by

              I'll investigate this a little deeper and analyze the logs to see if anyone else accessed the system. Thanks for your responses so far.

              1 Reply Last reply Reply Quote 0
              • O
                Ofloo
                last edited by Ofloo

                I have the same issue, without having anyone logged in i get a crash report. This happens since pfsense updated to 2.4.4-RELEASE (amd64), so it has beend doing this only since a few days now.

                However for me the exact error is:

                Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 12288 bytes) in /usr/local/www/crash_reporter.php on line 100 PHP ERROR: Type: 1, File: /usr/local/www/crash_reporter.php, Line: 100, Message: Allowed memory size of 536870912 bytes exhausted (tried to allocate 12288 bytes) Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 73728 bytes) in /etc/inc/notices.inc on line 436
                
                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Hmm, given where that error is, the PHP error log must be massive.

                  From Diagnostics > Command, run this in the shell exec box:

                  rm -f /tmp/PHP_errors.log
                  

                  And then reboot and see if the errors return.

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • O
                    Ofloo
                    last edited by Ofloo

                    No showed right away when I logged in. It's not some error that only happend once, .. its one that keep reappearing. Even sends me mails to report it.

                    Also before I deleted the file PHP_errors.log I checked the content there was nothing in it. I did however deleted it from ssh but I guess that's all the same.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      Strange that it was empty since line 100 in the crash reporter script is reading only that one file.

                      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • O
                        Ofloo
                        last edited by

                        Probably because I've acknowledged the error?

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          Maybe so but you said it keeps reappearing.

                          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • O
                            Ofloo
                            last edited by

                            Rebooted a few times and now the error is gone but it's gotten really slow to almost not workable anymore, the router still works, however the webpages are have gotten really slow to the point where they don't load anymore.

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