From owner-freebsd-questions Sat Feb 24 13:54:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nisser.com (c0039.upc-c.chello.nl [212.187.0.39]) by hub.freebsd.org (Postfix) with ESMTP id C76A037B401 for ; Sat, 24 Feb 2001 13:54:09 -0800 (PST) (envelope-from roelof@eboa.com) Received: from eboa.com (roelof [10.0.0.2]) by nisser.com (8.9.3/8.9.2) with ESMTP id WAA12361; Sat, 24 Feb 2001 22:54:06 +0100 (CET) (envelope-from roelof@eboa.com) Message-ID: <3A982D7E.93D4AB79@eboa.com> Date: Sat, 24 Feb 2001 22:54:06 +0100 From: Roelof Osinga Organization: eBOA - Programming the Web X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: Daniel Frazier Cc: questions@FreeBSD.ORG Subject: Re: kernel optimizations for an smp mail server... References: <3A96A568.66EBF9FE@magpage.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel Frazier wrote: > > ... > Now, I've set up plenty of workstations, a few firewalls and web > servers, but never an mail server. We have a fairly small user base, > only about 10,000 users. Can anyone suggest some kernal and/or system > optimizations I should make? I'm sure the main one would be maxusers, > but other than kern.maxproc I'm not sure what else that affects. > Would MAXUSERS = 256 be appropriate? Anything else I need to tweak? > Thanks. It's what I've done. Not that that is much of a recommendation, mind ;). I mean, Ted knows *way* more than I; as you can see by the riddles he speaks in . With 256 defined your max. opened files will become something like 16K. Your mileage with that will vary. So you'll need to monitor a bit see how it goes. Whoopsy, just noticed I'd bumped it to 512. Ah well. Other things I've messed with are NMBCLUSTERS, set to 8192 for now. As well as the DFLDSIZ, set to 128*... If that was such a good idea I don't know yet. Time will tell. But like Ted pointed out, anything depends on everything. So the more you know the less you can say. Which is why I can give simple answers ;). Roelof -- eboaź (ingenieursburo Office Automation) web. http://eboa.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message