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: 152
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready