Project

General

Profile

Bug #1804

spawn-fcgi doesn't respect -F PHP_FCGI_CHILDREN

Added by EricIsGood over 11 years ago. Updated over 11 years ago.

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.

#1

Updated by darix over 11 years ago

  • Status changed from New to Wontfix

it will only ignore numbers smaller than 5. if you use bigger numbers it will work.

#2

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