How to limit dhcpd.leases file size

perl-list perl-list at
Thu Mar 14 11:48:41 UTC 2019

Its neither limited nor unlimited. 

The daemon will append to the file with each new or updated lease. Once per hour it dumps the contents of memory back to the file thus truncating the file and recording every current lease (and usually expired entries such that it has a listing for each IP that is in use/has been used). This file is needed or leases will be forgotten about on server restart and duplicate IP assignments would happen. 

> From: "kawamura keiji" <kawamura.keiji at>
> To: "Users of ISC DHCP" <dhcp-users at>
> Sent: Thursday, March 14, 2019 4:15:51 AM
> Subject: How to limit dhcpd.leases file size

> Hi there,

> I’m running DHCP Server 4.3.3.

> Are there any ways to limit file size?

> Is the file size unlimited in life time of dhcpd daemon? , or limited to a
> certain size?

> Regards

> Keiji

> _______________________________________________
> dhcp-users mailing list
> dhcp-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list