Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Got this Error whilst deleting some idle/inactive ip's

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 304 Views 2 Watching
    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.
    • I Offline
      itqpp
      last edited by

      14.0-CURRENT
      FreeBSD 14.0-CURRENT #1 RELENG_2_7_0-n255866-686c8d3c1f0: Wed Jun 28 04:21:19 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/obj/amd64/LwYAddCr/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/sources/FreeBSD-src-REL

      Crash report details:

      PHP Errors:
      [25-Jan-2024 07:28:21 America/Belize] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 134217736 bytes) in /usr/local/www/status_dhcp_leases.php on line 62
      [25-Jan-2024 07:28:21 America/Belize] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 134217736 bytes) in /etc/inc/system.inc on line 690
      [25-Jan-2024 07:28:25 America/Belize] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 134217736 bytes) in /usr/local/www/status_dhcp_leases.php on line 62
      [25-Jan-2024 07:28:26 America/Belize] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 134217736 bytes) in /usr/local/www/status_dhcp_leases.php on line 62

      No FreeBSD crash data found.
      d6529510-e550-43d6-8999-d41b972653bf-image.png

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @itqpp
        last edited by

        @itqpp

        Normally, the DHCP server maintains and uses a reasonable /var/dhcpd/var/db/dhcpd.leases xxx Kilo bytes file. Dd you check the file ?
        For some reason, yours went to the "several mega bytes" size. This could be possible, if you have tens of thousands of LAN devices ... But reading it in, to show a web page, will use all memory available to PHP, and it aborts.
        Or some other "2.7.0" bug, I can't recall. as that version is pretty old now.

        Example : I have about 250 active DHCP clients on my two LANs. My /var/dhcpd/var/db/dhcpd.leases is about 50Kbytes i size.
        Also, when I add a new device, this is one of the files I check afterwards, together with the Status > System Logs > DHCP to see if it behaves correctly.

        What about upgrading ?

        No "help me" PM's please. Use the forum, the community will thank you.

        1 Reply Last reply Reply Quote 0
        • I Offline
          itqpp
          last edited by

          @Gertjan
          found the root of the problem to be that the file had whitespaces, so I deleted it and let the DHCP server to re-assign IP's. I thought I had upgraded it to the latest community Version.

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