Re: httpd w/PHP performance

2012-06-22 Thread Bernd Petrovitsch
On Mit, 2012-06-20 at 10:36 -0700, George Pontis wrote: I have an application that runs well using lighttpd with PHP. In an effort to reduce the memory footprint I tried porting it to the busybox ( 1.20.1 ) httpd. It was easy to get this working and it seems to work properly. What isn't good

Re: httpd w/PHP performance

2012-06-22 Thread Denys Vlasenko
On Fri, Jun 22, 2012 at 9:47 AM, Bernd Petrovitsch be...@petrovitsch.priv.at wrote: embedded environment. By comparison, lighttpd starts a programmable number of php-cgi processes at startup, then keeps them around and just feeds scripts to them as needed. It is feasible to go back to lighttpd

Re: httpd w/PHP performance

2012-06-21 Thread Michael Conrad
On 6/21/2012 8:39 AM, Gary Altenberg wrote: On 6/21/2012 5:01 AM, Laurent Bercot wrote: There might also be some downsides to repeated alloc/free in the embedded environment. Not at all. As long as you have enough memory to serve the requests, and dynamic allocations are kept to a

Re: httpd w/PHP performance

2012-06-21 Thread Michael Conrad
On 6/21/2012 6:01 AM, Laurent Bercot wrote: I have an application that runs well using lighttpd with PHP. In an effort to reduce the memory footprint I tried porting it to the busybox ( 1.20.1 ) httpd. It was easy to get this working and it seems to work properly. What isn't good enough is

httpd w/PHP performance

2012-06-20 Thread George Pontis
I have an application that runs well using lighttpd with PHP. In an effort to reduce the memory footprint I tried porting it to the busybox ( 1.20.1 ) httpd. It was easy to get this working and it seems to work properly. What isn't good enough is performance when executing PHP scripts. It looks