Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 1998 11:48:13 -0700 (PDT)
From:      Christopher Knight <merlin@ghostwheel.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: too many open files
Message-ID:  <Pine.BSF.3.96.980904114540.9375A-100000@amber.ghostwheel.com>
In-Reply-To: <Pine.BSF.3.96.980904132246.3680A-100000@feoh.nmarcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-ck

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



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.980904114540.9375A-100000>