From owner-freebsd-questions Mon Mar 11 11:19:06 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA05030 for questions-outgoing; Mon, 11 Mar 1996 11:19:06 -0800 (PST) Received: from digital.netvoyage.net (root@digital.netvoyage.net [205.162.154.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA05022 for ; Mon, 11 Mar 1996 11:19:02 -0800 (PST) Received: (from bogawa@localhost) by digital.netvoyage.net (8.6.13/8.6.9) id LAA02777; Mon, 11 Mar 1996 11:18:48 -0800 Date: Mon, 11 Mar 1996 11:18:47 -0800 (PST) From: Bryan Ogawa at Work To: Network Coordinator cc: questions@freebsd.org Subject: Re: Too many files open. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 11 Mar 1996, Network Coordinator wrote: > Trying to run named, I get a socket error "too many files open" > in /var/log/messages. There are over 2000 files available, and very few > <200 are used. > > Any ideas why this might be occuring [most likely I am misreading > some information somewhere] and how I can go about correcting it? This is meta-obscure. You're running into the soft user limits (I don't know what they're really called) which limit file opens. man limit for more information. Unfortunately, sh doesn't have built-ins to manipulate these limits. csh, on the other hand, does. The best solution is probably for someone to write limit commands that work under sh; however, barring that, the following should do: csh -c "unlimit; named -b /etc/namedb/named.boot" I also run into this. I've been fortunate in that I've been around the system the last few times it's rebooted, and have noticed these problems reasonably quickly. I ended up changing this in /etc/rc . bryan > > Thanks, > > -Jerry. > Bryan K. Ogawa Questions or Problems with NetVoyage? help@netvoyage.net Check out the NetVoyage HelpWeb at..