On Thu Jun 04 14:05:00 2015, fdupont wrote:
> I removed the first line of the bindconfig in
> util/Makefile.bind.in (the line which disables kqueue,
> epoll and devpoll, i.e., all select() alternatives) on
> a Fedora 22 virtual machine.
>
> As I expected the dhcpd server uses now epoll_wait()
> and I didn't see any difference with a regular master one
> used as a DHCPv6 server.
>
> So I believe we can simply add a new option in
> configure and the real work will be to pass system tests.
>
> Shawn, if you'd like I can steal the ticket and propose
> a patch for configure.ac.
There are two items to worry about
1) do the current machines continue to work properly in background?
The original issue was that the servers work properly in foreground
but consume all cpu when run as a daemon.
2) If the current machines work properly (without a change to
our code) how far back does this extend and do we still want
to support OSes older than that support?
We should probably be fixing the underlying issue either through
re-arranging the code to open the socket later or by changing
the options we choose for the socket to make sure the socket
is properly handled through the fork call.