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

    PHP Error

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 2 Posters 810 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.
    • emammadovE
      emammadov
      last edited by

      Hello,

      Today I suddenly got an email that shows php error has occured in pfsense. I looked at pfsense gui and shows the following error. It was working okay till now without any problem.

      Crash report begins. Anonymous machine information:

      amd64
      11.2-RELEASE-p3
      FreeBSD 11.2-RELEASE-p3 #17 e6b497fa0a3(RELENG_2_4_4): Thu Sep 20 09:04:45 EDT 2018 root@buildbot3:/crossbuild/ce-244/obj/amd64/WvDslnYb/crossbuild/ce-244/pfSense/tmp/FreeBSD-src/sys/pfSense

      Crash report details:

      PHP Errors:
      [25-Oct-2018 19:44:37 Asia/Baku] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /usr/local/www/diag_command.php on line 186

      No FreeBSD crash data found.

      Elvin

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

        That would have to be a code run by hand on Diagnostics > Command Prompt. Not a bug in the base code.

        Did you run any commands from there? Anything copy/pasted into the PHP box, perhaps?

        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
        • emammadovE
          emammadov
          last edited by

          yes, I run a command this command "tcpdump with -e" from this post
          https://forum.netgate.com/topic/136945/firewall-logs-wan-source-ip-0-0-0-0-blocked/26
          and saw it took too long, then I stopped.

          Elvin

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

            That's what it was then. Don't run commands there that won't stop. Without a specific byte count that will run forever.

            Either run form a shell prompt or if you're just doing a packet capture like that, use Diagnostics > Packet Capture. If you set it to show full detail it will show you the ethernet addresses you get from -e.

            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
            • emammadovE
              emammadov
              last edited by emammadov

              first I run "tcpdump" and then stopped run tcpdump -e.

              I should run "tcpdump -e", right?

              Do I need restart pfsense, just in case?

              Elvin

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

                You should never run tcpdump from Diagnostics > Command Prompt.

                Just use Diagnostics > Packet Capture.

                If you need to do something with tcpdump that can't be done there, use an ssh or console shell.

                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
                • emammadovE
                  emammadov
                  last edited by emammadov

                  Thank you very much. I do nothing more. Will this error appear again? I got 2 emails of it.

                  Elvin

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

                    It shouldn't, unless you run some other command that has a similar effect.

                    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
                    • emammadovE
                      emammadov
                      last edited by

                      Thank you very much.

                      Elvin

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