Weird problem of multiple dhcp processes running in parallel!

karteek.challa at wipro.com karteek.challa at wipro.com
Tue Nov 15 17:00:29 UTC 2016


Hi,

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.

# ps -ef | grep dhcp
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
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
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
root     29484 26297  0 14:02 pts/2    00:00:00 grep dhcp

Is this a bug?

Best Regards,
Karteek

________________________________
From: Karteek Challa (Communications-Telecom Equipment)
Sent: 11 November 2016 04:01
To: dhcp-users at lists.isc.org
Subject: Weird problem of multiple dhcp processes running in parallel!


Hi Friends,


I am facing a weird problem with the multiple dhcp process running in parallel.


My dhcp server was configured to listen on only one eth0  and there used to be only one process running always.

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.

DHCPv4 server running in my linux machine.


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
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
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
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
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

May I know in what scenario multiple dhcp processes will be created?


Best Regards,

Karteek


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20161115/1c731058/attachment.html>


More information about the dhcp-users mailing list