long expired DHCPD leases still in dhcpd.leases file

Bill Shirley bill at c3po.polymerindustries.biz
Fri Dec 15 06:22:42 UTC 2017


What "cleaning" do you expect?  If those addresses are still defined in dhcpd.conf
the DHCPD will keep track of them no matter when they were last used.

Bill


On 12/14/2017 4:04 PM, schilling wrote:
> When DHCPD write lease from memory to disk, there is no cleaning done? Or I am missing a configuration flag for that?
>
> We have one pair of DHCP servers which have been migrated several times to new pairs over the years. Currently running on 
> RHEL7 with DHCP 4.2.5. We recently found out that there are a lot of expired leases from several years ago are still in the 
> lease file. For example, there are about 2 millions leases in the file, but 32K leases have lease ends times in 2014, 2015, 
> and 2016.
>
> We had database out of sync from secondary to primary issue, namely, both member is claiming the other member is holding all 
> the free leases. It will get fixed after "faulting the database" 
> https://kb.isc.org/article/AA-00609/0/How-do-I-resynchronize-a-failover-pair.html. We are suspecting these leases might 
> contribute to the issue.
>
> Best,
>
> Schilling
>
>
>
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20171215/5322bf5b/attachment.html>


More information about the dhcp-users mailing list