<div dir="ltr">Hi, I am not familiar with c code(source code) but I will try to go through, <div>The main thing I am facing the issue is when the data is too high like 50-60k leases in the file, the dhcpd service restart is taking more time (nearly 5-6 minutes) some times nearly 10-11 mins, At these duration the network area will be like blackout, no user can connect to network</div><div>which is making me panic to perform restarts (I am doing the restarts because If the config is changed like any new statement added then we need to stop and start the dhcpd to get the new changes work)</div><div> I am suspecting writing the data into lease file is taking time (not sure)  <br></div><div>Do we have any suggested techniques which can reduce the time taken by the service to up, or any parameter which controls the behavior of lease file writing</div><div><br></div><div><br></div><div>Thanks</div><div>Teja</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 29, 2019 at 9:00 AM <<a href="mailto:glenn.satchell@uniq.com.au">glenn.satchell@uniq.com.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2019-10-29 07:31, Simon Hobson wrote:<br>
> Surya Teja <<a href="mailto:suryateja042@gmail.com" target="_blank">suryateja042@gmail.com</a>> wrote:<br>
> <br>
>> will it generates the multiple backup files when the data is too big?<br>
>> like dhcpd.lease ----> org file<br>
>>       dhcpd.leases~ -----> backup1<br>
>>        dhcpd.leases.<time_stamp> ----> backup2<br>
> <br>
> No. The server writes out a new file, renames the existing one<br>
> (deleting the old backup in the process), then renames the new one<br>
> into place.<br>
<br>
Hi Surya,<br>
<br>
Maybe you need to look at the source code to see the conditions under <br>
which this file is created?<br>
<br>
regards,<br>
-glenn<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div>