query about dhcp lease file(dhcpd.leases)
glenn.satchell at uniq.com.au
Tue Jul 10 15:07:33 UTC 2012
Lease records are appended to this file, so it can grow to a size only
limited by the filesystem. As the lease database is kept entirely in
memory, the number of leases is limited by the available memory on the
system. There have been a number of users posting here who regularly
have more than 100k active leases.
When the server starts it reads the dhcpd.leases file, discards
duplicates and keeps only the latest record for each lease. From time to
time the server writes out a new lease file, without any duplicate records.
The dhcpd.leases file is described in the man page: dhcpd.leases(5).
dhcpd.leases~ is a copy of the old lease file which is re-written from
time to time.
PS please do not cc: me on the emails sent to the list. This only means
I get two copies.
On 07/11/12 00:52, ameen.shajahan at wipro.com wrote:
> Hi all,
> For ISC DHCP-4.2.3, how many lease entries the lease file can contain at
> the max???
> Consider DHCPv4 server is running and it will store the lease entries in
> If I stop the server and run again what will happen to dhcpd.leases
> whether it will append again in dhcpd.leases.
> Also while running DHCPv4 server dhcpd.leases~ created automatically.
> What is the purpose of the dhcpd.leases~ file?
> Ameen S
> *Please do not print this email unless it is absolutely necessary. *
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s)
> and may contain proprietary, confidential or privileged information. If
> you are not the intended recipient, you should not disseminate,
> distribute or copy this e-mail. Please notify the sender immediately and
> destroy all copies of this message and any attachments.
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
Glenn Satchell | Miss 9: What do you
Uniq Advances Pty Ltd, Sydney Australia | do at work Dad?
mailto:glenn.satchell at uniq.com.au | Miss 6: He just
http://www.uniq.com.au tel:0409-458-580 | types random stuff.
More information about the dhcp-users