Firebird News

Friday, January 15, 2010

Howto kill and solve spawn-fcgi

I have tested spawn-fcgi and php fast cgi under heavy load

and sometimes nginx reports that is dead "Connection refused while connecting to upstream"
ab -c 200 -n 5000 http://localhost:8080/posts/

so i modified the /usr/bin/php-fastcgi startup script

/usr/bin/spawn-fcgi  -C 10 -F 10 -a -p 9000 -u www-data -f /usr/bin/php5-cgi
Post a Comment