Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2014 11:21:54 -0600
From:      Mark Felder <feld@FreeBSD.org>
To:        freebsd-apache@freebsd.org
Subject:   Re: prefork MPM still the default for apache24?
Message-ID:  <1417108914.25537.196133397.26D48C5A@webmail.messagingengine.com>
In-Reply-To: <20141126064734.5347ed3a5a163cf4d0c44324@potentialtech.com>
References:  <20141126064734.5347ed3a5a163cf4d0c44324@potentialtech.com>

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


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...



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