From 3e68f30d2dcbd91841c7512c75975867bc1e60af Mon Sep 17 00:00:00 2001 From: Shawn Routhier Date: Thu, 30 Dec 2010 22:43:33 +0000 Subject: [PATCH] Disable the use of kqueue in the ISC library. This avoids a problem between the fork and socket code that caused the dhcpd process to use all available cpu if the program daemonized itself. [ISC-Bugs #21911] --- RELNOTES | 5 +++++ util/Makefile.bind | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/RELNOTES b/RELNOTES index acecb5576..41dc8e4a8 100644 --- a/RELNOTES +++ b/RELNOTES @@ -165,6 +165,11 @@ work on other platforms. Please report any problems and suggested fixes to option. Thanks to a patch from Marius Tomaschewski. [ISC-Bugs #22055] +- Disable the use of kqueue in the ISC library. This avoids a problem + between the fork and socket code that caused the dhcpd process to + use all available cpu if the program daemonized itself. + [ISC-Bugs #21911] + Changes since 4.2.0rc1 - Documentation cleanup covering multiple tickets diff --git a/util/Makefile.bind b/util/Makefile.bind index 354dc69e9..0101de88f 100644 --- a/util/Makefile.bind +++ b/util/Makefile.bind @@ -13,7 +13,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.bind,v 1.2.2.4 2010/02/17 20:33:56 dhankins Exp $ +# $Id: Makefile.bind,v 1.2.2.5 2010/12/30 22:43:33 sar Exp $ # Configure and build the bind libraries for use by DHCP @@ -45,7 +45,7 @@ all: # Currently disable the epoll and devpoll options as they don't interact # well with the DHCP code. @echo Configuring BIND Export libraries for DHCP. - @(cd ${bindsrcdir} && ./configure --disable-epoll --disable-devpoll --without-openssl --without-libxml2 --enable-exportlib --enable-threads=no --with-export-includedir=${binddir}/include --with-export-libdir=${binddir}/lib > ${binddir}/configure.log) + @(cd ${bindsrcdir} && ./configure --disable-kqueue --disable-epoll --disable-devpoll --without-openssl --without-libxml2 --enable-exportlib --enable-threads=no --with-export-includedir=${binddir}/include --with-export-libdir=${binddir}/lib > ${binddir}/configure.log) # Build the export libraries @echo Building BIND Export libraries - this takes some time. -- 2.47.3