performance modifications

Claus Guttesen cguttesen at
Fri Mar 11 00:10:52 PST 2005

>   I'm wondering if anyone on the list has a good
> source for the major sysctl
> settings and/or kernel settings that can be modified
> in order to bring up the
> performance level on a FreeBSD 5.3 machine that is
> used with apache under heavy
> load.  
> I've done all the common stuff:
> recompiled the kernel and stripped out unused
> drivers

Did you try

options         ACCEPT_FILTER_DATA
options         ACCEPT_FILTER_HTTP

in your kernel? These options makes FreeBSD do the
3way-handshake rather than apache.

The usual

KeepAlive Off

in /usr/local/etc/apache/httpd.conf and

MaxClients xyz

in same file. Max-clients is computed by 'avail. ram /
size of one process', where you need to leave some
room for kernel, buffers etc. in avail. ram.


More information about the freebsd-performance mailing list