Bad perfomance with nginx and php-fpm

Dieter Knopf dieterknopf at googlemail.com
Thu Nov 17 22:02:04 UTC 2011


2011/11/17 Jérôme Loyet <jerome at loyet.net>:
> can you test by setting pm = static and pm.max_children to something a
> little bit hight than 10 (12 or 15).
> Just to ensure the problem does not come from the dynamic PM.

Sure. I just tested it with 20 children:
Time taken for tests:   24.580 seconds
Complete requests:      1000
Failed requests:        859
   (Connect: 0, Receive: 0, Length: 859, Exceptions: 0)

The same result :-(

This sould be far better with 20 php daemons, it must be another
problem, like a timeout or something like that?

Thanks

Dieter



More information about the nginx mailing list