Gracefully shutdown dhcpd
Shraddha Pandhe
spandhe.openstack at gmail.com
Wed Jun 24 17:30:32 UTC 2015
Hi Bob,
Thanks for responding. I tried out SIGTERM. Here are my findings.
When I follow the omshell way of graceful shutdown [1], I see following in
dhcpd logs. This seems like graceful shutdown. But when I do `kill -15
<pid>` I don't see any such log. Is there a way to verify that dhcpd has
shutdown gracefully?
Jun 24 17:26:32 painedingrained dhcpd: Disabling output on
LPF/eth0/fa:16:3e:0c:f2:ef/**.**.**.**/**
Jun 24 17:26:32 painedingrained dhcpd: Disabling input on
LPF/eth0/fa:16:3e:0c:f2:ef/**.**.**.**/**
[1] omshell
> server 127.0.0.1
> port 8080
> connect
obj: <null>
> new control
obj: control
> open
obj: control
state = 00:00:00:00
> set state = 2
obj: control
state = 2
> update
can't update object: connection reset by peer
obj: control
state = 2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150624/5b8a2778/attachment.html>
More information about the dhcp-users
mailing list