Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2005 11:32:10 +0100 (CET)
From:      Claus Guttesen <cguttesen@yahoo.dk>
To:        Vladimir Vrzic <random@beotel.yu>, freebsd-performance@freebsd.org
Subject:   Re: Apache 2 on FreeBSD 5.3
Message-ID:  <20050204103210.69846.qmail@web26806.mail.ukl.yahoo.com>
In-Reply-To: <1107510981.23035.17.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
> On a FreeBSD 5.3 web server with a very high load, I
> recently switched
> from Apache 1.3 and PHP 4.3 to using 2.0 with the
> prefork MPM and PHP 5.
> I noticed a drop in perfomance. What is currently
> the best (in terms of
> performance) choice for Apache w/ PHP on FreeBSD?
> Which MPM should I
> use? Does worker MPM use KSE on FreeBSD 5 and does
> it perform better
> than prefork? What about perchild and threadpool? Or
> maybe I should go
> back to Apache 1.3? Are there any sysctl or kernel
> tunings that I should
> use?

It is not recommend to use apache 2 with PHP. That's
at least what the folks at php says. We use 1.3 and
are satisfied with the performance.

Have you tried to set the following in
/usr/local/etc/apache/httpd.conf?

KeepAlive Off
MaxClients (size of one process) / (avail. RAM)

regards
Claus



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