PATCH: Plan to avoid pause while dhcpd rewrites dhcpd.leases

Mihail Balikov misho at interbgc.com
Sat May 19 06:11:16 UTC 2007


Why not just to fork() dhcpd while it will write dhcpd.leases file?

----- Original Message ----- 
From: "Nick Urbanik" <nick.urbanik at optusnet.com.au>
To: <dhcp-hackers at isc.org>
Sent: Friday, May 18, 2007 10:31 AM
Subject: PATCH: Plan to avoid pause while dhcpd rewrites dhcpd.leases


> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> Dear Folks,
> 
> On 24/04/07 10:43 +1000, Nick Urbanik wrote:
> >Dear Folks,
> >
> >I aim to implement a scheme proposed by my colleague to avoid the need
> >for dhcpd to stop and rewrite the leases.  Here is an outline of the
> >plan:
> 
> Well, I've written one.  Please could I have your comments?  I have
> also written a program dhcp-aggregate to aggregate the leases files.
> 
> The aim is for large failover systems to be able to continue
> communicating, and not have to stop for five minutes to re-write 250
> MB lease files.
> 
> This is our solution to the problem of the dhcp server occasionally
> failing to resume normal communication after entering the
> communications-interrupted state while re-writing lease files.
> --=20
> Nick Urbanik http://nicku.org  x-71011 nick.urbanik at optusnet.com.au
> GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
> 
> 
> 
> 
> 
> 
> __________ NOD32 2181 (20070411) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
> 
> 


More information about the dhcp-hackers mailing list