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

    SG3100 random PHP crash - 2.4.5-RELEASE-p1

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

      Hello All,

      I run an SG3100 (2.4.5-RELEASE-p1 (arm)) I got a random PHP error that I am not sure what to do with:


      Crash report begins. Anonymous machine information:

      arm
      11.3-STABLE
      FreeBSD 11.3-STABLE #238 885b1ed26b6(factory-RELENG_2_4_5): Tue Jun 2 17:52:40 EDT 2020 root@buildbot1-nyi.netgate.com:/build/factory-crossbuild-245-armv6/obj/armv6/kJlGauaG/arm.armv6/build/factory-crossbuild-245-armv6/sources/FreeBSD-src/sys/pfSense

      Crash report details:

      PHP Errors:
      [24-Mar-2021 00:33:23 America/New_York] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 50331656 bytes) in /usr/local/www/diag_command.php on line 172

      No FreeBSD crash data found.


      Does anyone know what I am looking for here? I wasn't logged into the Firewall at the time.

      PHP_errors.log.gz

      NollipfSenseN 1 Reply Last reply Reply Quote 0
      • NollipfSenseN
        NollipfSense @s0m3f00l
        last edited by

        @s0m3f00l Take this as an opportunity to upgrade and see whether you still have the problem.

        pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
        pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

        S 1 Reply Last reply Reply Quote 0
        • S
          s0m3f00l @NollipfSense
          last edited by

          @nollipfsense I'm sorry to say that I can't. Too many packages that I use aren't working. Snort Suricata and PFblocker come to mind. 20.01 px isn't ready for the big time yet .

          Anyone else got any ideas?

          1 Reply Last reply Reply Quote 0
          • S
            serbus
            last edited by serbus

            @s0m3f00l said in SG3100 random PHP crash - 2.4.5-RELEASE-p1:

            /usr/local/www/diag_command.php

            Hello!

            I dont think this php script will run randomly. I have only seen it run from the gui Diagnostics -> Command Prompt menu item.

            Whatever command was run probably generated a huge amount of output for the browser and ran php out of memory.

            Check...

            clog /var/log/nginx.log | grep diag_command.php
            

            ... to see when that command was run last and maybe by whom.

            John

            Lex parsimoniae

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