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

    Fatal error trying to delete DHCP leases

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 821 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.
    • J
      jjj
      last edited by

      We setup the pfSense box and disabled DHCP, but it still gave out DHCP leases (on a 192.168.1.0/24 network that's not even configured or assigned to an interface). We then rebooted it which stopped DHCP from the box and now when trying to delete leases it throws this error:

      Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 2 bytes) in /usr/local/www/status_dhcp_leases.php on line 79 Call Stack: 0.0001 229744 1. {main}() /usr/local/www/status_dhcp_leases.php:0 0.0147 763448 2. file() /usr/local/www/status_dhcp_leases.php:79 PHP ERROR: Type: 1, File: /usr/local/www/status_dhcp_leases.php, Line: 79, Message: Allowed memory size of 536870912 bytes exhausted (tried to allocate 2 bytes)

      It let us delete like half of the leases, then started throwing the error.
      Just an FYI.

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

        If the daemon is disabled/stopped, just ignore the page or remove the lease files /var/dhcpd/var/db/dhcpd*

        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy