Date: Wed, 14 Apr 1999 13:21:41 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Bryce Newall <data@dreamhaven.net> Cc: FreeBSD Questions List <freebsd-questions@FreeBSD.ORG> Subject: Re: FD_SETSIZE Message-ID: <Pine.BSF.4.03.9904141310210.15989-100000@resnet.uoregon.edu> In-Reply-To: <Pine.NEB.4.10.9904121344170.6533-100000@ds9.dreamhaven.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9904141310210.15989-100000>