*BSD News Article 96759


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!corolla.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: OPEN_MAX
Date: Tue, 03 Jun 1997 10:54:15 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 16
Message-ID: <33936B37.465C@OntheNet.com.au>
References: <5mnco0$arj$1@mark.ucdavis.edu>
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: cml@ucdavis.edu
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42086

Chris Lambertus wrote:
> 
> Hi,
> 
> I've just installed a 2.2.2-R distribution, and I'm trying to
> get the maximum open file descriptors up to 2048. (The machine
> will be an IRC server.) I started by setting things to 2048
> in my login class, which resulted in a limit of 360 fd's.
> At that point, I set OPEN_MAX in the kernel to 2048 and
> recompiled.  Now my limit shows 1064.  What else do I need to
> do to get this limit up to the level I need?

You arn't able to do a 'ulimit -n 2048' (or 'limit ...' if using a
different shell)?

Tony