RE: Optimal Apache22 configuration



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 unfortunately I can't find any info regarding kqueue for apache22.

Is this possible for apache22?

TIA
Regards,
Marcio
Subject: Re: Optimal Apache22 configuration
From: tevans.uk@xxxxxxxxxxxxxx
To: marcio29@xxxxxxxx
CC: freebsd-performance@xxxxxxxxxxx; freebsd-questions@xxxxxxxxxxx
Date: Thu, 22 Nov 2007 11:39:12 +0000

On Wed, 2007-11-21 at 19:49 +0100, Marcio Cicero wrote:
Hello all,

Tomorrow i'll start configuring an apache22 server at work and I've been searching what's the best configuration for apache22 on apache.

Is it possible to use kqueue() support for apache22? Also, the best threading library around for apache22 on freebsd is libthr?

The best mpm for this kind of environment is still worker?

Is there any updated documentation on this matter?

Thanks in advance.
Regards,
Marcio


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



_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: Optimal Apache22 configuration
    ... As far as I can remember there were experimental support for kqueue polling events on apache2 which I remember as nice performance improvement. ... But unfortunately I can't find any info regarding kqueue for apache22. ...
    (freebsd-questions)
  • RE: Optimal Apache22 configuration
    ... As far as I can remember there were experimental support for kqueue ... Is this possible for apache22? ... it is mandatory for the event MPM to work correctly. ...
    (freebsd-performance)
  • RE: Optimal Apache22 configuration
    ... As far as I can remember there were experimental support for kqueue ... Is this possible for apache22? ... it is mandatory for the event MPM to work correctly. ...
    (freebsd-questions)
  • Re: Optimal Apache22 configuration
    ... Tomorrow i'll start configuring an apache22 server at work and I've been searching what's the best configuration for apache22 on apache. ... doesn't support accept filters or SSL yet. ...
    (freebsd-performance)
  • Re: Optimal Apache22 configuration
    ... Tomorrow i'll start configuring an apache22 server at work and I've been searching what's the best configuration for apache22 on apache. ... doesn't support accept filters or SSL yet. ...
    (freebsd-questions)