<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><br>
</p>
Hi,
<div><br>
</div>
<div>I've reproduced the issue by restarting the dhcpd service exactly at the same time from 2 different hosts which had resulted in 2 dhcp processes listening on eth0 interface.</div>
<div><br>
</div>
<div>
<div># ps -ef | grep dhcp</div>
<div>root      1284     1  0 Oct23 ?        02:01:27 /sbin/syslog-ng -a /var/lib/dhcp/dev/log -a /var/lib/dhcp6/dev/log -a /var/lib/named/dev/log</div>
<div><b>dhcpd    18976     1  0 14:01 ?        00:00:00 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</b></div>
<div><b>dhcpd    18978     1  0 14:01 ?        00:00:00 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</b></div>
<div>root     29484 26297  0 14:02 pts/2    00:00:00 grep dhcp</div>
<div><br>
</div>
<div>Is this a bug?</div>
<div><br>
</div>
<div>Best Regards,</div>
<div>Karteek</div>
<div style="text-align: right;"><br>
</div>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Karteek Challa (Communications-Telecom Equipment)<br>
<b>Sent:</b> 11 November 2016 04:01<br>
<b>To:</b> dhcp-users@lists.isc.org<br>
<b>Subject:</b> Weird problem of multiple dhcp processes running in parallel!</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Friends,</p>
<p><br>
</p>
<p>I am facing a weird problem with the multiple dhcp process running in parallel.</p>
<p><br>
</p>
<p><span style="font-size:12pt">My dhcp server was configured to listen on only one eth0  and th</span><span style="font-size:12pt">ere used to be only one process running always.</span></p>
<p><span style="font-size:12pt">But because of some inconsistent behaviour in hosts not getting IPs, when observed the linux machine with the dhcp server installed, I observed 5 dhcp process running in parallel. </span></p>
<p><span style="font-size:12pt"></span></p>
<p><span style="font-size:12pt"><span>DHCPv4 server running in my linux machine.</span><br>
</span></p>
<p><span style="font-size:12pt"></span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt"></span></p>
<div>dhcpd     1934  1.2  0.2  34844  8744 ?        Ss   16:25   4:59 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</div>
<div><span style="font-size:12pt">dhcpd    19095  1.2  0.2  34972  8756 ?        Ss   Nov09  26:12 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</span><br>
</div>
<div>dhcpd    19349  1.2  0.2  34840  8728 ?        Ss   Nov09  26:01 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</div>
<div>dhcpd    20649  1.1  0.2  34840  8728 ?        Ss   Nov09  24:41 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</div>
<div>dhcpd    21533  1.1  0.2  34840  8736 ?        Ss   Nov09  24:07 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</div>
<div><br>
</div>
May I know in what scenario multiple dhcp processes will be created?
<p></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">Best Regards,</span></p>
<p><span style="font-size:12pt">Karteek</span></p>
<p><br>
</p>
</div>
</div>
</div>
</div>
</div>
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. www.wipro.com
</body>
</html>