From owner-freebsd-isp Mon Jan 28 16:18:44 2002 Delivered-To: freebsd-isp@freebsd.org Received: from workhorse.iMach.com (workhorse.iMach.com [206.127.77.89]) by hub.freebsd.org (Postfix) with ESMTP id 8274237B417 for ; Mon, 28 Jan 2002 16:18:41 -0800 (PST) Received: from localhost (forrestc@localhost) by workhorse.iMach.com (8.9.3/8.9.3) with ESMTP id RAA15552; Mon, 28 Jan 2002 17:11:24 -0700 (MST) Date: Mon, 28 Jan 2002 17:11:24 -0700 (MST) From: "Forrest W. Christian" To: Troy Settle Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Tuning a system... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 28 Jan 2002, Troy Settle wrote: > So... my question is, how can I tune my FreeBSD 4-STABLE boxes to run a > little more stable? I intend to update soon, I've just been putting it off > in favor of running my business. First of all, what do you have MAXUSERS set to in the config file? It sounds like you have it set to a rediculously low (like the default) value. I generally set it to 256 and forget it. Others might argue that a lower value is better as you don't want to "waste" too much memory and that 256 increases a lot of kernel parameters. I'd rather just set it and forget it. I can't say I've needed more than the quantity set by 256. Beyond this, I highly recommend you look at man tuning. This has everything you need to know in it about tuning, as a general rule. I would highly recommend you increase NMBCLUSTERS on any internet-serving box. I have mine set to 32768 on a heavy-use (5k users) qmail mail server box, but if you have a heavier use box, or if you tweak on the TCP window parameters you might need to increase it. Again I highly recommend you looking at the tuning(7) man page. > FYI, I don't consider myself an amature admin... my previous employer has 2 > 3.2-STABLE boxes that have been running for 2+ years without issue (one is a > mail server w/5000+ accounts, the other is a web server serving with an > entire class-c bound to it, serving >280k hits per day). Yep, I recognize you from somewhere else (nanog or inet-access perhaps) and associate your name as an "Old Timer" (meaning pre-1999 internet guy). - Forrest W. Christian (forrestc@imach.com) AC7DE ---------------------------------------------------------------------- The Innovation Machine Ltd. P.O. Box 5749 http://www.imach.com/ Helena, MT 59604 Home of PacketFlux Technogies and BackupDNS.com (406)-442-6648 ---------------------------------------------------------------------- Protect your personal freedoms - visit http://www.lp.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message