Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2007 11:39:12 +0000
From:      Tom Evans <tevans.uk@googlemail.com>
To:        Marcio Cicero <marcio29@live.com>
Cc:        freebsd-performance@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Optimal Apache22 configuration
Message-ID:  <1195731553.82763.30.camel@localhost>
In-Reply-To: <BAY126-W36863ECD0AAAD381D72B60B3780@phx.gbl>
References:  <BAY126-W36863ECD0AAAD381D72B60B3780@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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+--




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