FCGI.pm ?

Grzegorz Nosek grzegorz.nosek at gmail.com
Sat Feb 28 15:17:56 MSK 2009


On czw, lut 26, 2009 at 02:20:18 -0800, mike wrote:
> oh, dur. I would need one
> 
> spawn-fcgi fcgiwrap etc ...
> 
> for -every- "child" instance available. since it only does PHP
> children itself, yeah?

It's your lucky day ;) Grab a new fcgiwrap snapshot and run it like:

spawn-fcgi (...) -- fcgiwrap -c 10

to have 10 processes preforked (the pool has a static size). This code
is rather experimental (may not survive a kill-all-children-in-a-tight-loop
test) but looks like it's working.

Best regards,
 Grzegorz Nosek





More information about the nginx mailing list