<div dir="ltr">I am seeing on problem with dhcpd leases file size during my automation test script.<div><br></div><div>version: Internet Systems Consortium DHCP Server 4.2.4-P2</div><div><br></div><div>To keep it simple, I am using only one Client PC and very low lease duration (about 20secs).</div>

<div><br></div><div>As the lease time is very low, my client is frequently checking for the lease and every check is updating the dhcpd.leases file. </div><div><br></div><div>The problem now is that I have very low memory space available in my device and this lease file is very quickly using up the whole memory. </div>

<div><br></div><div>I understand that this is due to my device constraints. But, I would like to know few information to address this issue.</div><div><br></div><div>- Is there any mechanism in dhcpd which rewrite (like it does in when it starts) the lease file after some period?? If so, What is the period and Is there any way to give this in conf file??</div>

<div>- Is there any way to keep limit on number of connections for an subnet??</div><div>- will there be any problem if we keep limit on number of entries to log in lease file and when limit is reached start writing (overriding) from beginning?? (similar to dmesg in kernel)</div>

<div><br></div><div>Mohan Kumar Kannekanti</div><div>Santa Clara.</div><div><br></div></div>