Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. Re: [EXTERNAL] extremely slow DHCPD startup time (Shane Merritt) ---------------------------------------------------------------------- Message: 1 Date: Tue, 10 Jan 2023 20:55:39 +0000 From: Shane Merritt <smerr...@ua.edu> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: [EXTERNAL] extremely slow DHCPD startup time Message-ID: <ph7pr15mb5308d1c3b372c43b12f22509a6...@ph7pr15mb5308.namprd15.prod.outlook.com> Content-Type: text/plain; charset="windows-1252" I wanted to follow up to my own post in case someone else encounters this issue in the future. The problem I discovered was that DHCPD keeps a record of the last lease for a given client forever so that it can try to give the client that address again. We had over 300,000 leases in the leases file that were in a binding state other than active (e.g. expired, free). The majority of these were no doubt from client devices that will not ever show up on our network again. At the end of the semester, I stopped the primary and failover servers and ran a Perl script I wrote to go through and get rid of all these inactive leases. The load times changed to seconds and we have suffered no ill effects in the nearly one month since I did this. Shane Merritt Office of Information Technology The University of Alabama smerr...@ua.edu From: dhcp-users <dhcp-users-boun...@lists.isc.org> on behalf of Shane Merritt <smerr...@ua.edu> Date: Thursday, August 4, 2022 at 2:01 PM To: dhcp-users@lists.isc.org <dhcp-users@lists.isc.org> Subject: [EXTERNAL] extremely slow DHCPD startup time I have a failover pair of DHCP servers running 4.4.2-P1 that handle a DHCP for a very large wireless network (>75k devices active at any time). The leases file on these boxes is around 200 megabytes. The problem I am having is when I need to make a change and restart, DHCPD takes over 25 minutes to start giving out addresses. I assume this is due to the large lease file. I see that there are tons of leases in the file that are ?binding state free? that in some cases are months old. Are there any suggestions to improve this situation? Shane Merritt Office of Information Technology The University of Alabama smerr...@ua.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20230110/deb288b6/attachment-0001.htm> ------------------------------ Subject: Digest Footer _______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 170, Issue 1 ******************************************