From owner-freebsd-hackers Fri Jul 10 19:19:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA11023 for freebsd-hackers-outgoing; Fri, 10 Jul 1998 19:19:54 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA11016 for ; Fri, 10 Jul 1998 19:19:51 -0700 (PDT) (envelope-from dkelly@n4hhe.ampr.org) Received: from nospam.hiwaay.net (tnt4-31.HiWAAY.net [208.166.127.31]) by mail.HiWAAY.net (8.9.0/8.9.0) with ESMTP id VAA12214; Fri, 10 Jul 1998 21:19:48 -0500 (CDT) Received: from n4hhe.ampr.org (localhost.ampr.org [127.0.0.1]) by nospam.hiwaay.net (8.8.8/8.8.8) with ESMTP id VAA00332; Fri, 10 Jul 1998 21:12:05 -0500 (CDT) (envelope-from dkelly@n4hhe.ampr.org) Message-Id: <199807110212.VAA00332@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: "Michael W. Smith" , freebsd-hackers@FreeBSD.ORG From: David Kelly Subject: Re: Too many files open? In-reply-to: Message from Dan Busarow of "Fri, 10 Jul 1998 15:48:16 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Jul 1998 21:12:05 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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