PHP_FCGI_CHILDREN for Ruby

Hello,

I know the environment variable PHP_FCGI_CHILDREN sets the maximum
number of php fastcgi processes to be spawn when using Apache. Is there
a similar environment variable for Ruby/Rails fastcgi applications? Or
does this same variable also apply to Ruby?

Thanks

On Wed, 24 Jan 2007 22:50:07 +0100, [email protected] wrote:

http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiServer

Specifically, the -processes switch.

David V.

On 1/24/07, [email protected] [email protected] wrote:

I know the environment variable PHP_FCGI_CHILDREN sets the maximum
number of php fastcgi processes to be spawn when using Apache. Is there
a similar environment variable for Ruby/Rails fastcgi applications? Or
does this same variable also apply to Ruby?

Not builtin, but your FastCGI process manager (Apache, lighttpd,
nginx, etc) probably does the same for you.

PHP can manage its own FastCGI processes by forking up to
PHP_FCGI_CHILDREN listeners.

See http://dev.rubyonrails.org/ticket/1890 for an early effort.

jeremy

Hello,

I knew this could be done using the options offered by
apache/mod_fastcgi, but I’m running ruby/rails on a shared host, so I
have no control over those settings. Too bad the work on that patch was
was abandoned.

Thanks