From owner-freebsd-questions Thu Oct 7 10:48: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mta.lvdi.net (Mta.lvdi.net [216.24.138.2]) by hub.freebsd.org (Postfix) with SMTP id 34C6C15274 for ; Thu, 7 Oct 1999 10:47:58 -0700 (PDT) (envelope-from sdoty@mta.lvdi.net) Received: from mta.lvdi.net ([216.24.138.2]) by 216.24.138.2127.0.0.1 ; Thu, 07 Oct 1999 10:41:29 2000 PDT From: sdoty@mta.lvdi.net Reply-To: sdoty@mta.lvdi.net To: freebsd-questions@freebsd.org Date: Thu, 7 Oct 1999 10:41:29 +700 Subject: Judging limits X-Mailer: CWMail Web to Mail Gateway 2.2p, http://netwinsite.com/top_mail.htm Message-id: <37fcdb49.14078.0@mta.lvdi.net> X-User-Info: 24.234.46.35 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have been wondering how to judge what limits a certain machine can handle. When I install a new machine I always do some fine tuning. Like bumping up FD_SETSIZE to have more file handles. I add extra stuff to my kernel config to raise certain limits. A Example is something like this. options SOMAXCONN=2024 options NMBCLUSTERS=4096 options CHILD_MAX=1024 options OPEN_MAX=1024 options "MAXMEM=(256*1024)" options "MAXDSIZ=(256*1024*1024)" options "DFLDSIZ=(256*1024*1024)" options FD_SETSIZE=9096 My question is. How can I judge what a machine can handle as far as file handles or open childs. For example let say I have a, Pentium III 450mhz with 256ram. And scsi HD's. What can a machine like that handle? Is setting the FD_SETSIZE to 9096 asking for trouble? I know doing something like that to a low end machine might be. Now on the other hand I don't want to set these limits to low or I will start seeing out of file handle errors or out of mbuf's. But I don't want the machine to over run its limits either and crash. Thanks Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message