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. -
If the daemon is disabled/stopped, just ignore the page or remove the lease files /var/dhcpd/var/db/dhcpd*
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 LoginPrivacy Policy · Cookie Policy