Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 1998 13:44:51 -0700 (PDT)
From:      Tom <tom@uniserve.com>
To:        Christopher Knight <merlin@ghostwheel.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: too many open files
Message-ID:  <Pine.BSF.3.96.980904134351.20117B-100000@shell.uniserve.ca>
In-Reply-To: <Pine.BSF.3.96.980904114540.9375A-100000@amber.ghostwheel.com>

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

On Fri, 4 Sep 1998, Christopher Knight 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?
> 
> I have the following script located in /usr/local/etc/rc.d/
> 
> #!/bin/sh
> 
> /usr/sbin/sysctl -w kern.maxfiles=8192
> /usr/sbin/sysctl -w kern.maxvnodes=16384 
> 
> 
> That takes care of my 'too many files open' problem.

  Just for "root".  That increases the system file table.  The per-user
limits in /etc/login.conf still apply, unless you are root.

> -ck
> 
> -----------------------------------------------------------------------------
> Certainly the game is rigged.  Don't let that stop you; if you don't
> bet, you can't win.
>   -Lazarus Long
> -----------------------------------------------------------------------------

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.980904134351.20117B-100000>