<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
What "cleaning" do you expect? If those addresses are still defined
in dhcpd.conf<br>
the DHCPD will keep track of them no matter when they were last
used.<br>
<br>
Bill<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/14/2017 4:04 PM, schilling wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALg_j4_tvf4Nq+qvGNcgF3Xpu06erSGrzxtDEkp6D0rkUmOAmA@mail.gmail.com">
<div dir="ltr">
<div>When DHCPD write lease from memory to disk, there is no
cleaning done? Or I am missing a configuration flag for that? <br>
</div>
<div><br>
</div>
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.
<div><br>
</div>
<div>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" <a
href="https://kb.isc.org/article/AA-00609/0/How-do-I-resynchronize-a-failover-pair.html"
moz-do-not-send="true">https://kb.isc.org/article/AA-00609/0/How-do-I-resynchronize-a-failover-pair.html</a>.
We are suspecting these leases might contribute to the issue. </div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Schilling</div>
<div><br>
</div>
<div><br>
<div><br>
</div>
<div> </div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></pre>
</blockquote>
<br>
</body>
</html>