From owner-freebsd-questions Thu Apr 15 12:45:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id A813114BDC for ; Thu, 15 Apr 1999 12:45:46 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from scientia.demon.co.uk (ident=ben) by scientia.demon.co.uk with local (Exim 2.12 #4) id 10XrfC-0008uk-00; Thu, 15 Apr 1999 20:19:02 +0100 (envelope-from ben@scientia.demon.co.uk) Date: Thu, 15 Apr 1999 20:19:02 +0100 From: Ben Smithurst To: David Langford Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FD_SETSIZE Message-ID: <19990415201901.A34163@scientia.demon.co.uk> References: <19990415171431.A32541@scientia.demon.co.uk> <199904151745.HAA27169@kauai.pacificglobal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199904151745.HAA27169@kauai.pacificglobal.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Langford wrote: > 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. maxusers, I think is the only way. Use `files = 40 + 32 * maxusers', you'll need maxusers at 62 to allow 2000 open files. I think this sets the absolute system maximum limit: login.conf can be used to control it for different classes if needed. sysctl can also reduce limits, but I'm pretty sure it can't take them above the limit determined from the maxusers setting. -- 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