spawn-fcgi doesn't respect -F PHP_FCGI_CHILDREN
I'm running lighttpd 1.5 r2353
If I run the command:
/usr/local/bin/spawn-fcgi -f /usr/local/bin/php-cgi -s /tmp/php-fastcgi.sock -P /var/run/spawn-fcgi.pid -F 8
Where -F is the number of child processes, then view the output of
phpinfo always shows PHP_FCGI_CHILDREN set to 5.
I've tried -F with both low and high numbers.
This makes it very difficult to scale.
Updated by icy over 11 years ago
- Status changed from Wontfix to Invalid
- Priority changed from High to Normal
You are using the wrong option. To spawn PHPs internal children (special case for PHP), you need to use -C.
-F works too of course but spawns PHP "motherships" that each will have their own (-C) children.
Please don't set priority to high without any reason.
Also available in: Atom