Bad perfomance with nginx and php-fpm

Dieter Knopf dieterknopf at googlemail.com
Thu Nov 17 21:59:15 UTC 2011


2011/11/17 Joe <frumentius at gmail.com>:
> How about the logs file?

I tried a new benchmark with the old settings:
Time taken for tests:   24.939 seconds
Complete requests:      1000
Failed requests:        861
   (Connect: 0, Receive: 0, Length: 861, Exceptions: 0)


In the logfile from php5-fpm i see 1000 requests (everyone with status 200):
[...]
- -  17/Nov/2011:21:55:40 +0000GET /index.php200 /www/index.php
174.837 20224 102.96%
- -  17/Nov/2011:21:55:40 +0000GET /index.php200 /www/index.php
175.963 20224 96.61%
- -  17/Nov/2011:21:55:40 +0000GET /index.php200 /www/index.php
191.407 20224 83.59%
- -  17/Nov/2011:21:55:40 +0000GET /index.php200 /www/index.php
212.139 20224 75.42%
[...]

In the nginx-access.log the same:
[...]
46.252.24.80 - - [17/Nov/2011:22:55:37 +0100] "GET / HTTP/1.0" 200
5935 "-" "ApacheBench/2.3"
46.252.24.80 - - [17/Nov/2011:22:55:37 +0100] "GET / HTTP/1.0" 200
5931 "-" "ApacheBench/2.3"
46.252.24.80 - - [17/Nov/2011:22:55:37 +0100] "GET / HTTP/1.0" 200
5933 "-" "ApacheBench/2.3"
46.252.24.80 - - [17/Nov/2011:22:55:37 +0100] "GET / HTTP/1.0" 200
5931 "-" "ApacheBench/2.3"
[...]

Thanks

Dieter



More information about the nginx mailing list