Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jul 2001 23:08:57 +0200
From:      Len Conrad <LConrad@Go2France.com>
To:        freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org
Subject:   helping Wietse help postfix on FreeBSD
Message-ID:  <5.1.0.14.0.20010703230504.02f8fe50@mail.Go2France.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20010703230504.02f8fe50>