Date: Mon, 11 Mar 1996 11:18:47 -0800 (PST) From: Bryan Ogawa at Work <bogawa@netvoyage.net> To: Network Coordinator <nc@ai.net> Cc: questions@freebsd.org Subject: Re: Too many files open. Message-ID: <Pine.BSF.3.91.960311111218.20410E-100000@digital.netvoyage.net> In-Reply-To: <Pine.BSF.3.91.960311002914.16743A-100000@aries.ai.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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.. <URL: http://www.netvoyage.net/~help/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960311111218.20410E-100000>
