Actions
Bug #1804
closedspawn-fcgi doesn't respect -F PHP_FCGI_CHILDREN
Status:
Invalid
Priority:
Normal
Category:
spawn-fcgi
Target version:
-
ASK QUESTIONS IN Forums:
Description
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 darix over 16 years ago
- Status changed from New to Wontfix
it will only ignore numbers smaller than 5. if you use bigger numbers it will work.
Updated by icy over 16 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.
Actions
Also available in: Atom