Hi,
I have been trying to setup nginx and fpm on our production machine.It already runs apache + mod-php and it serves around 50 Req/s with high memory usage but load average is below 1 on an 8 core 16GB machine.
I installed nginx + php-fpm via socket on this box and tried to put the same amount of traffic which apache bears with LVS but it accepts around 60-70 Req/sec only, if I try to increase it to 100 + the system load shoots and the php-fpm active processes reaches its limit and it stalls .
So is it intended to behave this way ? because what I have read on the forums/ blogs etc is that nginx with php-fpm outperforms apache.
I could be somethings wrong ,need suggestions and help to answer this question.
Thanks
Rajat