Hello, I am experiencing a problem with BIND9.9.2-P1 on Cygwin throwing "general: error: socket: file descriptor exceeds limit (128/64)".
This problem was reported previously "Re: 1.7.1: Bind 9.6.0-P1 on Vista: could not listen on UDP socket: not enough free resources (patch attached)" http://sourceware.org/ml/cygwin/2010-05/msg00552.html Is it possible to have the patch suggested for 9.6.0 to recompile the sources with -DFD_SETSIZE=16384 defined included with the current BIND package? Thanks, Chris --- $ cat /var/log/named/example.log 07-Apr-2013 21:04:00.961 network: info: additionally listening on IPv4 interface {EA76CB46-2C32-4956-B29B-876E2B, 192.168.1.2#53 07-Apr-2013 21:04:00.961 general: error: socket: file descriptor exceeds limit (128/64) 07-Apr-2013 21:04:00.961 network: error: could not listen on UDP socket: not enough free resources 07-Apr-2013 21:04:00.961 network: error: creating IPv4 interface {EA76CB46-2C32-4956-B29B-876E2B failed; interface ignored 07-Apr-2013 21:04:00.961 network: info: additionally listening on IPv4 interface {3A539854-6A70-11DB-887C-806E6F, 127.0.0.1#53 07-Apr-2013 21:04:00.961 general: error: socket: file descriptor exceeds limit (128/64) 07-Apr-2013 21:04:00.961 network: error: could not listen on UDP socket: not enough free resources 07-Apr-2013 21:04:00.961 network: error: creating IPv4 interface {3A539854-6A70-11DB-887C-806E6F failed; interface ignored 07-Apr-2013 21:04:00.961 general: info: managed-keys-zone: loaded serial 0 07-Apr-2013 21:04:00.961 general: info: zone 0.0.127.in-addr.arpa/IN: loaded serial 2013033101 07-Apr-2013 21:04:00.977 general: info: zone 1.168.192.IN-ADDR.ARPA/IN: loaded serial 2013033101 07-Apr-2013 21:04:00.977 general: info: zone localhost/IN: loaded serial 2013033101 07-Apr-2013 21:04:00.977 general: info: zone example.com/IN: loaded serial 2013033101 07-Apr-2013 21:04:00.992 general: notice: all zones loaded 07-Apr-2013 21:04:00.992 general: notice: running 07-Apr-2013 21:04:00.992 notify: info: zone 1.168.192.IN-ADDR.ARPA/IN: sending notifies (serial 2013033101) $ /usr/sbin/named -V BIND 9.9.2-P1 built with '--srcdir=/usr/src/ports/bind/bind-9.9.2-P1-2/src/bind-9.9.2-P1' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--datadir=/usr/share' '--localstatedir=/var' '--sysconfdir=/etc' '--datarootdir=/usr/share' '--docdir=/usr/share/doc/bind' '-C' '--enable-shared' '--disable-static' '--disable-backtrace' '--disable-linux-caps' '--without-dlopen' '--with-dlz-bdb=/usr' '--with-dlz-filesystem' '--with-dlz-ldap=/usr' '--with-dlz-mysql=/usr' '--with-dlz-odbc=/usr' '--with-dlz-postgres=/usr' '--with-dlz-stub' '--with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets' '--with-gssapi' '--with-libxml2=/usr' '--with-openssl=/usr' 'CC=gcc' 'CFLAGS=-ggdb -O2 -pipe -fdebug-prefix-map=/usr/src/ports/bind/bind-9.9.2-P1-2/build=/usr/src/debug/bind-9.9.2-P1-2 -fdebug-prefix-map=/usr/src/ports/bind/bind-9.9.2-P1-2/src/bind-9.9.2-P1=/usr/src/debug/bind-9.9.2-P1-2' 'LDFLAGS=' 'LIBS=-liphlpapi' 'CPPFLAGS=' using OpenSSL version: OpenSSL 1.0.1c 10 May 2012 using libxml2 version: 2.9.0 $ /usr/sbin/named-checkconf -p options { directory "/var/named"; listen-on port 53 { 127.0.0.1/32; 192.168.1.2/32; }; version "not currently available"; recursion no; allow-transfer { "none"; }; }; controls { inet 127.0.0.1 port 953 allow { 127.0.0.1/32; } keys { "rndc-key"; }; }; logging { channel "example_log" { file "/var/log/named/example.log" versions 3 size 2097152; severity info; print-time yes; print-severity yes; print-category yes; }; category "default" { "example_log"; }; }; key "rndc-key" { algorithm "hmac-md5"; secret "qrI/JNO/+RzaMF0Muq/MWA=="; }; zone "example.com" in { type master; file "master.example.com"; }; zone "1.168.192.IN-ADDR.ARPA" in { type master; file "192.168.1.rev"; }; zone "localhost" in { type master; file "master.localhost"; allow-update { "none"; }; }; zone "0.0.127.in-addr.arpa" in { type master; file "localhost.rev"; allow-update { "none"; }; }; -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple