X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 	tests=BAYES_20
X-Spam-Check-By: sourceware.org
Message-ID: <4B796E07.6080203@hp.com>
Date: Mon, 15 Feb 2010 16:53:43 +0100
From: =?ISO-8859-1?Q?Fran=E7ois_Donz=E9?= <francois.donze@hp.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: 1.7.1: Bind 9.6.0-P1 on Vista: could not listen on UDP socket: not  enough free resources
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On my Vista SP1, named cannot listen on a Interface, because it cannot 
open any socket. In order to minimize the number of needed sockets, I 
asked /etc/named.conf to listen on a single interface:

listen-on { 192.168.222/24 ; }

However, named -g still returns:

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


I Understand that Vista has a very limited number of available sockets, 
but could not find a nice way to increase this number. I could find 
drivers hacking the registry or patches to the IP stack but don't feel 
very confident with those....

Any hint appreciated,
François


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

