*BSD News Article 83458


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: named : socket(SOCK_DGRAM):  Too many open files - exiting
Date: 22 Nov 1996 00:18:16 GMT
Organization: Private BSD site, Dresden
Lines: 19
Message-ID: <572rg8$moi@uriah.heep.sax.de>
References: <3289525D.258A@onthenet.com.au>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Tony Griffiths <tonyg@OntheNet.com.au> wrote:

> We have a problem with named on FreeBSD 2.1.5-RELEASE.  The machine in
> question is a virtual Web server with about 66 domains.  It boots
> correctly but if we add a new domain and "kill -HUP" named, it fails to
> open it's UDP sockets and gives the above error.

Bump the allowed number of open descriptors for named.  See the ulimit
builtin of /bin/sh.

(IIRC, named binds to each address of a machine, and the default limit
on descriptors per process is 64.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)