From owner-freebsd-questions Mon Jan 15 14:54:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gdmckee.local (gdm.demon.co.uk [193.237.88.62]) by hub.freebsd.org (Postfix) with ESMTP id 53B7937B69B for ; Mon, 15 Jan 2001 14:53:51 -0800 (PST) Received: from [192.168.0.5] (helo=p300) by gdmckee.local with smtp (Exim 3.20 #1) id 14IIV0-0000lm-00; Mon, 15 Jan 2001 22:53:14 +0000 Message-ID: <001301c07f45$dac9c0a0$0500a8c0@gdmckee.local> From: "G D McKee" To: "Roelof Osinga" , References: <3A637953.F55908FB@nisser.com> Subject: Re: increasing max openfiles Date: Mon, 15 Jan 2001 22:52:36 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Where can I get a detailed manual on the BSD Lite Kernel from? G D McKee ----- Original Message ----- From: "Roelof Osinga" To: Sent: Monday, January 15, 2001 10:27 PM Subject: Re: increasing max openfiles > Rick Jansen wrote: > > > > How do i compile my kernel with an increased limit of open files? > > I found FD_SETSIZE, but i don't know whether this is what i need, or how to > > use it. Probably "options FD_SETSIZE=x", but i don't know. > > 1024 openfiles isn't enough :/ > > Well, I've done the following adjustments in the NISSER kernel I'm > building: > > maxusers 512 > > # bumping the undocumented feature: > options NMBCLUSTERS=8192 # was 1024 > > # default and maximum segment sizes > options MAXDSIZ="(256*1024*1024)" > options DFLDSIZ="(128*1024*1024)" # was also 256 > > and various others of course . All in all, resulting in: > > nl:/usr/X11R6# sysctl -a | grep maxfiles > kern.maxfiles: 16424 > kern.maxfilesperproc: 16424 > > Would that do the trick? > > Roelof > > -- > Home is where the (@) http://eboa.com/ is. > Nisser home -- http://www.Nisser.com/ > Beveiligingsverwijzingen -- http://Nisser.com/links.htm > > > 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