Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 1998 13:43:46 -0700 (PDT)
From:      Tom <tom@uniserve.com>
To:        The Hermit Hacker <scrappy@hub.org>
Cc:        Bob K <melange@yip.org>, The Lab <thelab@nmarcom.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: too many open files
Message-ID:  <Pine.BSF.3.96.980904134051.20117A-100000@shell.uniserve.ca>
In-Reply-To: <Pine.BSF.4.02.9809041440500.5462-100000@hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 4 Sep 1998, The Hermit Hacker wrote:

> On Fri, 4 Sep 1998, Bob K wrote:
> 
> > On Fri, 4 Sep 1998, The Hermit Hacker wrote:
> > 
> > > On Fri, 4 Sep 1998, The Lab wrote:
> > > 
> > > > 
> > > > I keep getting the "too many open files" message, but am unsure exactly
> > > > how to reconfigure my kernel to compensate. Any suggestions?
> > > 
> > > 	Actually, check the /etc/login.conf file and raise the limits for
> > > the 'login group' that you are a member of...I'm not 100% certain whether
> > > this is available on pre-3.0 systems though :(
> > 
> > Another possibility (which was one I ran into just two days ago) is to
> > raise the value of maxusers; the default is 10.  I raised mine to 20, but
> > it's a really low-powered system (486dx4/100, 24 megs of RAM) that only
> > gets light usage.  Most people suggested values in the 40-50 range for a
> > single workstation running X.
> 
> 	One requires a rebuild/reboot of the system...one doesn't.  IN a
> production environment, /etc/login.conf is about the only choice...

  Except you are talking about two different things.  MAXUSERS controls
the system wide file table.  /etc/login.conf controls per-user file
limits.  You can increase the limits in /etc/login.conf all you want, but
if the system wide table is full, you will still get "too many open files"
errors.

Tom


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980904134051.20117A-100000>