Friday, October 12, 2007

Load balancing FastCGI

Run this command on the workers spawn-fcgi -p 8081 -a 192.168.2.10 -f /usr/bin/php-cgi -u lighttpd -g lighttpd -C 5 -P /var/run/spawn-fcgi-8081.pid Don't forget to open up the right port (8081 in the example) and monitor the processes (say restart when it dies)

0 Comments:

Post a Comment

<< Home