Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Pete Houston
On Tue, Jan 12, 2016 at 06:56:40PM +, Rose, John B wrote: > For event ... > > > StartServers3 > MinSpareThreads 20 > MaxSpareThreads 25 > ServerLimit 16 > ThreadsPerChild 16 > MaxRequestWorkers 256 > MaxConnecti

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rose, John B
So for example using the default "event" mpm values (http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/extra/httpd-mp m.conf.in) below in Apache then PHP-FPM would be the same ... StartServers 3 -> pm.start_servers = 3 MinSpareThreads 75 -> pm.min_spare_servers = 75 MaxSpareThreads 250 -

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rich Bowen
On 01/12/2016 02:26 PM, Rose, John B wrote: > Is there a guide to properly matching your apache and PHP-FPM configs? > > Looking here Š > > https://wiki.apache.org/httpd/PHP-FPM > > I am not seeing that information > php-fpm is documented in the PHP docs at http://php.net/manual/en/install.

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rose, John B
Is there a guide to properly matching your apache and PHP-FPM configs? Looking here Š https://wiki.apache.org/httpd/PHP-FPM I am not seeing that information On 1/12/16 2:03 PM, "Rich Bowen" wrote: > > >On 01/12/2016 01:58 PM, Rose, John B wrote: >> Can you elaborate on this a bit? >> >> "..t

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rich Bowen
On 01/12/2016 01:58 PM, Rose, John B wrote: > Can you elaborate on this a bit? > > "..the server pool is smaller than Apache's server pool, causing > too much thrashing. (See the pm.min_spare_servers and so on)" Sure. The way that php-fpm works is that there's a php-fpm daemon, and requests fo

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rose, John B
Can you elaborate on this a bit? "..the server pool is smaller than Apache's server pool, causing too much thrashing. (See the pm.min_spare_servers and so on)" On 1/12/16 12:20 PM, "Rich Bowen" wrote: > > >On 01/11/2016 04:51 PM, Rose, John B wrote: >> After switching to mod_php from php-fpm

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rose, John B
The default settings were used for php-fpm. For event ... StartServers3 MinSpareThreads 20 MaxSpareThreads 25 ServerLimit 16 ThreadsPerChild 16 MaxRequestWorkers 256 MaxConnectionsPerChild 0 From: Daniel mailt

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rich Bowen
On 01/11/2016 04:51 PM, Rose, John B wrote: > After switching to mod_php from php-fpm we are told the site is working > 4x faster using mod_php instead of php-fpm. > > Any explanation? The cynic in me things that this is a case of old dogs being unwilling to learn new tricks. Other things

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Daniel
What is the configuration in both cases? php-fpm pool included. How did you measure? El lun., 11 ene. 2016 a las 22:52, Rose, John B () escribió: > After switching to mod_php from php-fpm we are told the site is working 4x > faster using mod_php instead of php-fpm. > > Any explanation? > > Thanks

Re: [users@httpd] Apache stops serving pages

2016-01-12 Thread Jim Walls
Thanks for the more detailed answer. I was not familiar with the AcceptFilter command. Since it was in Apache, I assumed (incorrectly) that it was controlling filtering in Apache. I did a Google search and quickly found that it is actually controlling Winsock, so now it makes sense that it w

Re: [users@httpd] Apache stops serving pages

2016-01-12 Thread Jim Walls
Personally I loved windows 2K. I had several user PCs running 2K Pro at home, and ran the computer I used as a server under 2K Server for almost a decade until it died a little over a year ago. Only reason I replaced it was because it died - leaking caps on the mother board. I was given a 64

Re: [users@httpd] Apache stops serving pages

2016-01-12 Thread Yann Ylavic
On Tue, Jan 12, 2016 at 5:40 PM, Jim Walls wrote: > Yann Ylavic asked: >> Did you try Kevin's proposal, that is : >> AcceptFilter http none >> AcceptFilter https none > > > I don't remember seeing that message, so no I didn't. > > However, If that was causing a problem, I would think that after se

Re: [users@httpd] Apache stops serving pages

2016-01-12 Thread Eric Covener
On Tue, Jan 12, 2016 at 11:40 AM, Jim Walls wrote: > Yann Ylavic asked: >> Did you try Kevin's proposal, that is : >> AcceptFilter http none >> AcceptFilter https none > > > I don't remember seeing that message, so no I didn't. > > However, If that was causing a problem, I would think that after s

Re: [users@httpd] Apache stops serving pages

2016-01-12 Thread Jim Walls
Yann Ylavic asked: > Did you try Kevin's proposal, that is : > AcceptFilter http none > AcceptFilter https none I don't remember seeing that message, so no I didn't. However, If that was causing a problem, I would think that after setting the error log to debug level, I would have seen i

Re: [users@httpd] Apache stops serving pages

2016-01-12 Thread Yann Ylavic
On Tue, Jan 12, 2016 at 4:32 AM, Jim Walls wrote: > > I'm running out of ideas. > > Anybody else? Did you try Kevin's proposal, that is : AcceptFilter http none AcceptFilter https none ? Regards, Yann. - To unsubscribe,