From owner-freebsd-questions Wed Apr 14 13:24:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id C48F415856 for ; Wed, 14 Apr 1999 13:24:20 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id NAA00726; Wed, 14 Apr 1999 13:21:41 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 14 Apr 1999 13:21:41 -0700 (PDT) From: Doug White To: Bryce Newall Cc: FreeBSD Questions List Subject: Re: FD_SETSIZE In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 12 Apr 1999, Bryce Newall wrote: > On Mon, 12 Apr 1999, Doug White wrote: > > > > equivalent to FD_SETSIZE in 2.2.8 and below? When I have that option in a > > > 3.1 kernel, config tells me it doesn't recognize that option. > > > > I think it's a sysctl now, and you generally have to fix this on a > > per-program basis at build-time. > > Hmm... so it's no longer a kernel option that can be "global" to all > programs like it used to be? Here's why I'm asking about this: The problem is that some program's implementations expect FD_SETSIZE to be 256, and tank otherwise. Old versions of Apache are a case-in-point. > We (DreamHaven) just upgraded one of our systems from FreeBSD 2.2.8-STABLE > to 3.1-STABLE. We did a fresh installation on a new hard drive, installed > all the programs we use, threw in the /home hard drive, and were off and > running. One of the web sites we host is extremely high-volume, and I > suspect that it may have been responsible for a system crash that occurred > last night. Here is a sample of the pile of error messages that got > dumped into /var/log/messages: > > Apr 11 18:59:08 calico /kernel: 3>file: table is full Argh! This message is the bane of my existence; I can never remember how to fix it! First question: What is maxusers set to? Second question: Have you tried setting 'options "OPEN_MAX=###"' in your kernel config, where ### is something like 255? Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message