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?
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.
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.