*BSD News Article 78094


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!corolla.OntheNet.com.au!news
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Kernel Problem - "file table is full"
Date: Thu, 12 Sep 1996 11:39:40 +1000
Organization: On the Net (ISP on the Cold Coast, Australia)
Lines: 28
Message-ID: <323769DC.84C@OntheNet.com.au>
References: <323621D9.5851@co.ip.pt>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: rmc@co.ip.pt

Rui Cohen wrote:
> 
> Hi,
> 
> I'm using FreeBSD 2.1.0 in a box running a news server and I keep
> getting these messages:
> 
> /kernel: file: table is full
> syslogd: /var/run/utmp: Too many open files in system
> 
> I understand that a few kernel changes are necessary for FBSD to run
> well with a large number of users, process and open files.
> 
> What kernel options should I change and what are the recommended values
> for a pretty loaded server ?
> 
> TIA,
> 
> ---
> Rui Cohen

In the kernel config file (I assume that you have built a kernel and are
not using the generic one!), edit the "maxusers" (or something like
that) and increase to 64.  Alternatively, locate the header file in the
compile area that determines the maximum number of open file and edit it
directly but the first option is safer!

Tony