On 30 November 2013 08:53, Chris Samuel <[email protected]> wrote:
> On Fri, 29 Nov 2013 05:08:58 PM Tim Connors wrote:
>
>> I wonder about worker vs prefork?  linux processes are lightweight, so I
>> don't imagine threading is going to be much better.  We only fork one
>> process per second typically, and I don't think there'll be many
>> differences in context switch overhead between the two.  Worker apparently
>> "sucks for php", but I don't know whether that's for mod_php or cgi or
>> whatever.
>
> Well I switched from prefork to worker on my personal Debian VM so that it
> could cope with lots of PHP, I kept running out of RAM otherwise.
>
> Worked really well and my problems went away.
>
> Now of course it's not loaded anything like the BoM servers, but this is the
> first I've heard that it "sucks for php".

It's even in the PHP manual:
http://www.php.net/manual/en/faq.installation.php#faq.installation.apache2
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to