How to limit dhcpd.leases file size

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to limit dhcpd.leases file size

kawamura.keiji

Hi there,

 

I’m running DHCP Server 4.3.3.

Are there any ways to limit dhcpd.lease 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
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: How to limit dhcpd.leases file size

perl-list
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" <[hidden email]>
To: "Users of ISC DHCP" <[hidden email]>
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 dhcpd.lease 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
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users