mod_cgi for nginx - anyone?

Grzegorz Nosek grzegorz.nosek at gmail.com
Sun Feb 8 21:33:40 MSK 2009


On Sun, Feb 08, 2009 at 11:48:32AM -0500, Jim Ohlstein wrote:
> OK, I'm sure that I'm missing something, but I'm having trouble getting more than one instance going.
> 
> I tried
> 
> # /usr/local/bin/spawn-fcgi -C 5 -a 127.0.0.1 -p 10000 -u nobody -g nobody -f /usr/local/bin/fcgiwrap but only saw one instance generated.

-C only sets an environment variable for php-fcgi, it doesn't actually
run multiple instances of anything.

> Do you have a sample script to start it with "X" number of children

See http://nginx.localdomain.pl/ for a simple Perl launcher.

Best regards,
 Grzegorz Nosek





More information about the nginx mailing list