*BSD News Article 96078


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsfeeds.sol.net!europa.clark.net!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!196.4.160.8!hermes.is.co.za!not-for-mail
From: Inus Scheepers <inus@dockside.co.za>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ifconfig limit reached?
Date: Sat, 24 May 1997 00:02:14 -0200
Organization: No organisation supplied
Lines: 25
Message-ID: <33864C26.6E2B@dockside.co.za>
References: <michelle-2205971722230001@monalisa.primelogic.com> <5m3qnp$ic4@ui-gate.utell.co.uk>
Reply-To: inus@dockside.co.za
NNTP-Posting-Host: portserver-2.dockside.co.za
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (Win16; I)
CC: michelle@primelogic.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41540

Brian Somers wrote:
> 
> In article <michelle-2205971722230001@monalisa.primelogic.com>,
>         michelle@primelogic.com (Michelle Brownsworth) writes:
> > Today I added the 57th ifconfig line to our server's rc.local file as part
> > of the routine adding of a virtual host.  I HUP'ed named and was greeted
> > by a nameserver core dump and complaints of "too many files open."  
...

> 
> You could try increasing kern.maxfiles.  This is usually the same as
> kern.maxfilesperproc - around 360 on a "10 user" machine.
> 
>     # sysctl kern.maxfiles=500
>     # sysctl kern.maxfilesperproc=500
> 
> I dunno if this will help.
> 

Try "ulimit -n 1000" before restarting named... It worked for me - I put
it in the rc.

--
Inus Scheepers
Cape Town