From owner-freebsd-questions@FreeBSD.ORG Thu Nov 22 12:07:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43BF916A421 for ; Thu, 22 Nov 2007 12:07:18 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id B9D3E13C4D1 for ; Thu, 22 Nov 2007 12:07:17 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ug-out-1314.google.com with SMTP id y2so386271uge for ; Thu, 22 Nov 2007 04:07:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=Ic7KGvGYkM89Ny3ZhiZfIbcIWhxnJ0V07KxTz2GmVj0=; b=C8wQRauTDpRqdAMpO0LlWnTXYh/C8PevcK3AXD3135m+djt51vbLmEyMEiXFKqmtzQy4NooC+dNCa3YJiU7VBk4ei6+FzGDdsY+ArB/YA8mKdvJFt0HGkhJmIRffCAsuX9G4iyNLDe1eQaT2g4qCBdnZEc8+7HeauDN8KT2LUPk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=QnWLDWZMOJb26aG2vMmzi2KEHqptjvweDbiH5QX2GqaTIILA11xBjtFRI+4W/O99F/cJnf3AKG8Na8eJBolL9Jf6lXp+mv5K9Y+3zz50UwGD0l070K6Zt9JqfdL54PdXPVjlq4Mvn+GKgpJXXM0mS3MWXjrFF3HpLWmO00qrNEw= Received: by 10.67.22.2 with SMTP id z2mr1347529ugi.1195731557429; Thu, 22 Nov 2007 03:39:17 -0800 (PST) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTPS id i6sm534056gve.2007.11.22.03.39.14 (version=SSLv3 cipher=RC4-MD5); Thu, 22 Nov 2007 03:39:14 -0800 (PST) From: Tom Evans To: Marcio Cicero In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Wrzz2RHeEQrjTAcaeP2+" Date: Thu, 22 Nov 2007 11:39:12 +0000 Message-Id: <1195731553.82763.30.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Cc: freebsd-performance@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Optimal Apache22 configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 12:07:18 -0000 --=-Wrzz2RHeEQrjTAcaeP2+ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 been = searching what's the best configuration for apache22 on apache. >=20 > Is it possible to use kqueue() support for apache22? Also, the best threa= ding 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 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 :) 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 :) We use libthr, which works perfectly (as you would expect, lots of apache devs run and recommend FreeBSD). Cheers Tom --=-Wrzz2RHeEQrjTAcaeP2+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHRWpclcRvFfyds/cRAlXAAKC+ILXgsydc2UGhu/twCsRob5qCZgCePk1U QE7tBKJFKIG9WdRlhqns5/k= =7dHX -----END PGP SIGNATURE----- --=-Wrzz2RHeEQrjTAcaeP2+--