From owner-freebsd-stable Tue Jul 3 14: 8:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id 8913C37B405; Tue, 3 Jul 2001 14:08:07 -0700 (PDT) (envelope-from LConrad@Go2France.com) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id C8B2D16B16; Tue, 3 Jul 2001 23:08:05 +0200 (CEST) Received: from IBM-HIRXKN66F0W.Go2France.com [195.115.185.184] by mail.Go2France.com with ESMTP (SMTPD32-6.06) id A5FB23400128; Tue, 03 Jul 2001 23:15:39 +0200 Message-Id: <5.1.0.14.0.20010703230504.02f8fe50@mail.Go2France.com> X-Sender: LConrad@Go2France.com@mail.Go2France.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 03 Jul 2001 23:08:57 +0200 To: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org From: Len Conrad Subject: helping Wietse help postfix on FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Iīm trying to gather tuning information for Wietse Venema who says: "I'm writing a document that describes how to crank up FreeBSD so that it can run lots of processes, and so that it can handle lots of connections. Right now, these guidelines vary from sysctl, loader.conf, to recompiling a kernel. This is confusing." Of course, what he means "lots of connections" required by 100īs and 100īs of smtp and smtpd processes in postfix. Given that the guy is very busy developping postfix basically single-handed and participating in its support list daily, we ought to be pleased heīs concentrating some of his time on a FreeBSD+postfix tuning doc, and that he wouldn't be doing this if he wasnīt seeing a real demand for large to huge FreeBSD+postifix servers, can somebody, hacker level, provide some help here? What we have found is "man 8 systcl" , "man 3 systcl" , "man sysctl.conf" , "man loader.conf", and http://apollo.backplane.com/FreeBSD/tuning.html. The confusion results from some systcl variables that are read-only from sysctl.conf but writeable in loader.conf. eg, kern.ipc.maxsockets and kern.ipc.nmbclusters. but these latter are not listed in "man 8 sysctl" but are in man 3 sysctl, but not as being writeable in loader.conf, which is not mentioned. So it looks like for sysctl variables, there are these options: writeable from shell or sysctl.conf (but not writeable from loader.conf) read-only from sysctl.conf but writeable only in loader.conf read-only but writeable in custom kernel (re-compile) (but there isnīt any explicit setting for maxproc in 4.3R LINT.) Furthermore, is there any doc as to exactly which and how variables are affected by changing MAXUSERS? LINT says itīs "complicated" :))) and go read param.c. Thanks Len http://MenAndMice.com/DNS-training http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 & W2K http://IMGate.MEIway.com : Build free, hi-perf, anti-abuse mail gateways To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message