Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Reinis Rozitis r at roze.lv
Fri Sep 9 13:37:52 UTC 2011

> I cannot migrate to php 5.3.3, so I cannot use native php-fpm.
> Should I try to tweak fast-cgi better or try to get PHP-FPM working ?

You can apply FPM patches (it was a quite a long time before it got into core) also to 5.2.x tree and for 5.2.17 ( 
http://php-fpm.org/downloads/php-5.2.17-fpm-0.5.14.diff.gz ).
The dynamic manager will let you adjust best process numbers and will show the slow scripts.


More information about the nginx mailing list