Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2003 11:37:41 -0700
From:      Sean Chittenden <sean@chittenden.org>
To:        "Thomas Krause (Webmatic)" <tk@webmatic.de>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: apache2 tuning
Message-ID:  <20030505183741.GH94932@perrin.int.nxad.com>
In-Reply-To: <3EAE2AB9.4030408@webmatic.de>
References:  <3EAE2AB9.4030408@webmatic.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> I want to build a new webserver (dual xeon with 4 GB RAM).  The
> server provides mostly dynamic php-pages. In the ports Makefile
> there are compile option like WITH_THREADS and WITH_MPM (which
> includes WITH_THREADS). These are useful options for a production
> machine? Also, is it useful to compile the kernel with
> ACCEPT_FILTER_DATA and ACCEPT_FILTER_HTTP? And if yes, is apache
> compiled with accept filter by default?

Having the accept filters turned on in the kernel is a huge win for
Apache.  See the tuning(7) man page for other details of interest.  As
for which MPM, last I heard UNIX folk were better off using the
pre-fork MPM and not the threaded MPM.  This may have changed, but I'd
bet dime to dollar you'll get better stability out of the pre-fork but
a smaller memory footprint out of the threaded MPM.  -sc

-- 
Sean Chittenden



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