Date: Fri, 04 Feb 2005 10:44:46 -0500 From: Lucas Holt <luke@foolishgames.com> To: Vladimir Vrzic <random@beotel.yu> Cc: freebsd-performance@freebsd.org Subject: Re: Apache 2 on FreeBSD 5.3 Message-ID: <4203986E.50200@foolishgames.com> In-Reply-To: <1107510981.23035.17.camel@localhost> References: <1107510981.23035.17.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir Vrzic wrote: >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? > > > What I find odd is that you switched two software packages and assume its apache's fault for the performance drop. If you are just testing php code, it could very well be the php5 is slower than php4 for your code. From my understanding prefork is recommended with mod anything in apache 2 right now simply because most modules link with non thread safe libraries.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4203986E.50200>