Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2005 09:10:50 +0100 (CET)
From:      Claus Guttesen <cguttesen@yahoo.dk>
To:        ray@redshift.com, freebsd-performance@freebsd.org
Subject:   Re: performance modifications
Message-ID:  <20050311081051.68374.qmail@web26809.mail.ukl.yahoo.com>
In-Reply-To: 6667

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

regards
Claus



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