From owner-freebsd-performance@FreeBSD.ORG Thu Nov 22 13:58:42 2007 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 977FB16A418; Thu, 22 Nov 2007 13:58:42 +0000 (UTC) (envelope-from marcio29@live.com) Received: from bay0-omc3-s9.bay0.hotmail.com (bay0-omc3-s9.bay0.hotmail.com [65.54.246.209]) by mx1.freebsd.org (Postfix) with ESMTP id 6ED9813C4D1; Thu, 22 Nov 2007 13:58:42 +0000 (UTC) (envelope-from marcio29@live.com) Received: from BAY126-W57 ([65.55.131.92]) by bay0-omc3-s9.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 22 Nov 2007 05:58:24 -0800 Message-ID: X-Originating-IP: [193.137.211.11] From: Marcio Cicero To: Tom Evans Date: Thu, 22 Nov 2007 14:58:24 +0100 Importance: Normal In-Reply-To: <1195731553.82763.30.camel@localhost> References: <1195731553.82763.30.camel@localhost> MIME-Version: 1.0 X-OriginalArrivalTime: 22 Nov 2007 13:58:24.0899 (UTC) FILETIME=[BFFF2D30:01C82D0F] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-performance@freebsd.org, freebsd-questions@freebsd.org Subject: RE: Optimal Apache22 configuration X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 13:58:42 -0000 Hi Tom, Thanks for your input. As far as I can remember there were experimental support for kqueue polling= events on apache2 which I remember as nice performance improvement. But un= fortunately I can't find any info regarding kqueue for apache22.=20 Is this possible for apache22? TIA Regards, Marcio > Subject: Re: Optimal Apache22 configuration > From: tevans.uk@googlemail.com > To: marcio29@live.com > CC: freebsd-performance@freebsd.org; freebsd-questions@freebsd.org > Date: Thu, 22 Nov 2007 11:39:12 +0000 >=20 > On Wed, 2007-11-21 at 19:49 +0100, Marcio Cicero wrote: > > Hello all, > >=20 > > Tomorrow i'll start configuring an apache22 server at work and I've bee= n searching what's the best configuration for apache22 on apache. > >=20 > > Is it possible to use kqueue() support for apache22? Also, the best thr= eading library around for apache22 on freebsd is libthr? > >=20 > > The best mpm for this kind of environment is still worker? > >=20 > > Is there any updated documentation on this matter? > >=20 > > Thanks in advance.=20 > > Regards, > > Marcio > >=20 >=20 > We use a pair of apache22 webservers in a round robin configuration at > work, doing proxying to app servers and serving static content for all > our websites, and they run very nicely indeed under the event MPM. This > is still marked as 'experimental' as apache, but the reason is that it > doesn't support accept filters or SSL yet (support is planned). If you > need SSL, I'd go for worker. If you need PHP, I'd go for prefork :) >=20 > We wanted a pair for redundancy and failover support, and we were unsure > one server could handle the load, but load tends to hover at about 0.1 > on both boxes, and they tend to 'just work', which is nice :) >=20 > We use libthr, which works perfectly (as you would expect, lots of > apache devs run and recommend FreeBSD). >=20 > Cheers >=20 > Tom >=20 >=20 _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=3D7+wonders+world&mkt=3Den-US&form=3DQ= BRE=