prefork MPM still the default for apache24?

Mark Felder feld at FreeBSD.org
Thu Nov 27 17:21:55 UTC 2014



On Wed, Nov 26, 2014, at 05:47, Bill Moran wrote:
> 
> I was recently doing some load testing on a new tomcat application I'm
> working on.
> 
> Long story short: I found that a performance issue I was hitting was the
> result of
> Apache being built with the prefork MPM. Rebuilding with the event MPM
> increased
> performace to the same speed as connecting to tomcat directly, which was
> 20x
> faster than communicating through Apache using the (default) prefork MPM.
> 
> This is a tomcat 8 app running on FreeBSD 10.0 with Apache 2.4
> 
> This leads me to a few questions:
> 
> Is there some reason the event MPM is not the default? The Apache
> community seems to
> think that it should be (at least, the people I talked to). Is there some
> obscure
> issue with it on FreeBSD?
> 
> Luckily the ports system makes it easy to rebuild Apache with a different
> MPM, but
> I'm worried that since the prebuilt version installed by pkg still uses
> prefork,
> that a lot of people are getting an underperforming server for no reason.
> 

Interesting. I think the event model is new in 2.4 I wonder if it's what
upstream recommends by default in 2.4...


More information about the freebsd-apache mailing list