Welcome! Log In Create A New Profile

Advanced

nginx + PHP-FPM via socket not performing better than apache !!!

Posted by rajatdutta 
nginx + PHP-FPM via socket not performing better than apache !!!
March 29, 2014 03:48AM
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
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready