*BSD News Article 80428


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!arclight.uoregon.edu!nntp.primenet.com!news.primenet.com!bkogawa
From: bkogawa@primenet.com (Bryan Ogawa)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Too many open files
Date: 11 Oct 1996 12:35:02 -0700
Organization: Primenet Services for the Internet
Lines: 27
Message-ID: <53m7h6$cgv@nnrp1.news.primenet.com>
References: <53l5v1$ifn@news.eunet.si>
X-Posted-By: bkogawa@206.165.5.109 (bkogawa)

lisko@sparc.eunet.si (Valentin Lisjak) writes:

>I'm getting this message when trying to start named. I have P75 with
>64MRAM and 2 disks [2G + 1G]

>I'm running full usenet feed and 62 virtual web servers (CERN). Machine
>is also secondary nameserver for ~500 domains. Everything
>worked just fine for 9 months.

>I guess there's possiblity to change max_no of opened file descriptors
>but I couldn't find it in manuals, usenet, FAQs, ...
[...]

It sounds like you've opened one too many files. :)

Seriously, this sounds like you've run into the soft system limits. (man
csh and search for limit for info).

from sh, see if you have the ulimit command (try typing it int).  If you
do, do a ulimit before starting named.  If not, do: 

csh -c 'unlimit;/usr/sbin/named -b /etc/namedb/named.boot'

when starting up named (you may need to change the way named is invoked).

--
bryan k. ogawa  <bkogawa@primenet.com>  <bkogawa@netvoyage.net>