delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/18/17:14:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.8 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Tue, 18 May 2010 14:13:56 -0700
From: mki-cygwin AT mozone DOT net
To: cygwin AT cygwin DOT com
Cc: Francois Donze <francois DOT donze AT hp DOT com>
Subject: Re: 1.7.1: Bind 9.6.0-P1 on Vista: could not listen on UDP socket: not enough free resources
Message-ID: <20100518211356.GA18141@cyclonus.mozone.net>
References: <4B796E07 DOT 6080203 AT hp DOT com>
Mime-Version: 1.0
In-Reply-To: <4B796E07.6080203@hp.com>
User-Agent: Mutt/1.4.2.3i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mon, Feb 15, 2010 at 04:53:43PM +0100, Fran?ois Donz? wrote:
> 15-Feb-2010 16:33:33.279 less than 128 UDP sockets available after 
> applying 'reserved-sockets' and 'maxsockets'
> 15-Feb-2010 16:33:36.435 listening on IPv4 interface 
> {5DAF3057-DBA6-4354-A5FA-6171C8, 192.168.222.1#53
> 15-Feb-2010 16:33:36.437 socket: file descriptor exceeds limit (128/64)
> 15-Feb-2010 16:33:36.437 could not listen on UDP socket: not enough free 
> resources

Apparently if you pass named the -S argument with anything above 128,
then it seems to work just fine (reserved-sockets in the config doesn't
seem to help).  I just ran into the same annoyance.  Try it out like 
so:  /usr/sbin/named -f -g -S 256

Not sure why this is happening other than the default limits not being 
honored and/or get botched by setrlimit() in there somewhere...

Hope that helps.

Mohan

--
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