Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 14:41:32 -0400
From:      Michael Powell <nightrecon@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: reducing size of apache instances
Message-ID:  <h8e5jp$cp6$1@ger.gmane.org>
References:  <4AA9BCF0.6040003@identry.com> <h8dek8$tsa$1@ger.gmane.org> <4AAA577A.8070103@identry.com> <h8dq3n$4pi$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Voras wrote:

> John Almberg wrote:
> 
>> I am using PHP, in fact. I've listed all the loaded modules below, and
>> marked the ones I added with an '*'. I need the proxy modules because I
>> use Apache as a front end for Mongrel.
> 
>> This WITH_MPM=worker sounds interesting. I'll have to read up on it. I
>> guess there is some downside to enabling it, like slower performance?
> 
> PHP is incredibly buggy and will in all probability break Apache if you
> try running it in threaded mode.
> 

Try mod_fcgid and run PHP as FastCGI if you want a threaded Apache. I've 
been running the event mpm on a test box at work this way. So far I've never 
had any trouble, but it is also not getting hammered either. Conventional 
wisdom is the event mpm is still considered "experimental" and therefore 
untrustworthy in a production environment.

-Mike






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h8e5jp$cp6$1>