Fatal error trying to delete DHCP leases



  • 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.


  • Rebel Alliance Developer Netgate

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


Log in to reply