From owner-freebsd-questions Thu Apr 15 10:48:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from maui.net (maui.net [207.175.210.2]) by hub.freebsd.org (Postfix) with ESMTP id 5AC151506D for ; Thu, 15 Apr 1999 10:48:09 -0700 (PDT) (envelope-from langfod@kauai.pacificglobal.net) Received: from kauai.pacificglobal.net (Kauai.PacificGlobal.NET [209.84.182.101]) by maui.net (8.8.7/8.8.5) with ESMTP id HAA11354; Thu, 15 Apr 1999 07:45:40 -1000 (HST) Received: (from langfod@localhost) by kauai.pacificglobal.net (8.8.8/8.8.5) id HAA27169; Thu, 15 Apr 1999 07:45:38 -1000 (HST) From: David Langford Message-Id: <199904151745.HAA27169@kauai.pacificglobal.net> Subject: Re: FD_SETSIZE In-Reply-To: <19990415171431.A32541@scientia.demon.co.uk> from Ben Smithurst at "Apr 15, 1999 5:14:31 pm" To: ben@scientia.demon.co.uk (Ben Smithurst) Date: Thu, 15 Apr 1999 07:45:38 -1000 (HST) Cc: dwhite@resnet.uoregon.edu, data@dreamhaven.net, freebsd-questions@FreeBSD.ORG X-blank-line: This space intentionaly left blank. X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay so the real question still looms. What do we need to change in the the 3.0+ systems so that a single process can have, say, two thousand files open at once. In the 2.2 branch we would just set FDSETSIZE, remake the libraries,kernel, and applications and things would be okay. I am a wee bit confused how to accomplish the same feat under the 3.0+ branch. Any clarification would be greaty appriciated. :) David Langford langfod@dihelix.com >> Second question: Have you tried setting 'options "OPEN_MAX=###"' in your >> kernel config, where ### is something like 255? > >I don't think that option has any effect any more -- config reports an >unknown option and I couldn't see any relevant mentions of it under >/sys anywhere. The limit is just (40 + 32 * maxusers), according to >/sys/conf/param.c, and I don't see a way to override it other than >maxusers or diddling the source. > >-- >Ben Smithurst >ben@scientia.demon.co.uk > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message