nginx blocking during long running PHP request?

mike mike503 at gmail.com
Thu Feb 26 20:45:37 MSK 2009


i wouldn't say it's "solved" but i don't seem to have any problems
from what i can tell.

they have upgraded spawn-fcgi this week, maybe it has a lot better
features/fixes some odd bugs...

however i'd switch to php-fpm and if i still saw this behavior i would
bump up the number of children. (this is where the process spawning of
php-fpm will rock!)

On Thu, Feb 26, 2009 at 5:26 AM, Sen Haerens <lists at ruby-forum.com> wrote:
> I'm experiencing blocking with php-fcgi spawner script (3 children).
>
> /usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -C 3 -f
> /usr/bin/php5-cgi
>
> top
> www-data  5731  0.0  7.1 162968 37456 ?        S    Feb24   0:28
> /usr/bin/php5-cgi
> www-data  9566  0.0  4.9 160484 26224 ?        S    08:06   0:02
> /usr/bin/php5-cgi
> www-data  9843  0.0  3.9 155216 20640 ?        S    11:54   0:01
> /usr/bin/php5-cgi
> www-data 27917  0.0  1.4 149648  7608 ?        Ss   Feb19   0:00
> /usr/bin/php5-cgi
>
> Is blocking solved when using php-fpm?
> --
> Posted via http://www.ruby-forum.com/.
>
>





More information about the nginx mailing list