Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 1998 21:12:05 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        "Michael W. Smith" <mwsmith@merlin.darkmage.net>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Too many files open? 
Message-ID:  <199807110212.VAA00332@nospam.hiwaay.net>
In-Reply-To: Message from Dan Busarow <dan@dpcsys.com>  of "Fri, 10 Jul 1998 15:48:16 PDT." <Pine.BSF.3.96.980710154639.6932B-100000@java.dpcsys.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Busarow writes:
> On Fri, 10 Jul 1998, Michael W. Smith wrote:
> > I keep getting a too many files open error on the system and it's hosing
> > it all to hell. A friend of mine who's more familiar with FreeBSD told me
> > I need to rebuild the kernel but he wasn't sure which directive I need to
> > change to fix it. I've got the Complete FreeBSD book, and know how to
> > rebuild the kernel, but it's not entirely clear what I need to change to
> > stop that error from happening. Any help would be greatly appreciated.
> 
> Usually the easiest way to fix this is just to increase the value
> of maxusers in your kernel config file.  maxusers controls quite
> a few system limits.  You made need to do more, depending on what
> this box is doing but this is a good start.

What about the various limits in /etc/login.conf such as "openfiles".
These may be kicking in before the kernel exhausts its resources. See
limits(1) and login.conf(5) for more ideas.


--
David Kelly N4HHE, dkelly@nospam.hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807110212.VAA00332>