delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/07/21:30:07

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=vzJ
t+ippErWEetapB9J6btKDibl2EWYDrz+bBVYO7up6YlhpMo/d9va9AF1x6OsQyBk
v3RMvg3ZwOhGLYT0pEict2k33ZJfbkJQIJWsAcllJpR/wtJ5Ccie7D6RT/qlBfoP
8R8LpkRZ5J7SLFyFxOQgYgE/fXl6KkezVBNN8LO4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=i0htolfB1
HhVKEJ3nYAGGalG92A=; b=Keq16Sz+a38JhJP0OOTN6vwYsG94eEn9asZsnewIw
PuLAfBqs16Hl4BuHQ0PwJ1DGpf1aMG+IYPRRX/YlqTnm5YHx2gyBJ+29P0+B7Gbt
BQ9QAaFoY977LRYQ1fK662l31jtlR4erRVNXOcm3y3/puJ0BtujydjAnaHXzNKuS
n0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,TW_BX,TW_DL,TW_IB autolearn=ham version=3.3.1
X-Yahoo-SMTP: VO32wYWswBDduhBAo0NF.jmbsUU1LXrPV6k-
X-Rocket-Received: from [192.168.1.2] (chris_wiesner AT 76 DOT 189 DOT 189 DOT 41 with plain) by smtp210.mail.gq1.yahoo.com with SMTP; 07 Apr 2013 18:29:45 -0700 PDT
Message-ID: <51621D8F.3050201@yahoo.com>
Date: Sun, 07 Apr 2013 21:29:51 -0400
From: Chris Wiesner <chris_wiesner AT yahoo DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: bind-9.9.0-2

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019