delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/15/10:55:06

X-Recipient: archive-cygwin AT delorie DOT 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 DOT donze AT hp DOT com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: 1.7.1: Bind 9.6.0-P1 on Vista: could not listen on UDP socket: not enough free resources
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

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

- Raw text -


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