A question about Ruby on rails and Apache 2

Hi all,

i’ve configured my server with ruby on rails, apache 2 and fastcgi. i
invited some friends to test my application and now i’ve got about 8
ruby instances in ram on my app dispatch.rb.

I would just like to know if this seems to be normal or not.

thanks for your answers.

You need to be using the -processes switch in your fcgi
config…Although
sometimes I’ve found it obeys and sometimes it doesn’t. I’ve asked
around
why this is with no good response.

Anyone chime in on that one?

Here’s an example from a testing server of mine…

FastCgiIpcDir /tmp/fcgi_ipc FastCgiServer /var/www/skunk/public/dispatch.fcgi \ -initial-env RAILS_ENV=production \ -processes 1 \ -idle-timeout 60 FastCgiServer /var/www/genselect/public/dispatch.fcgi \ -initial-env RAILS_ENV=development \ -processes 1 \ -idle-timeout 60 FastCgiServer /var/www/edeals/public/dispatch.fcgi \ -initial-env RAILS_ENV=development \ -processes 1 \ -idle-timeout 60 FastCgiServer /var/www/signature/public/dispatch.fcgi \ -initial-env RAILS_ENV=development \ -processes 1 \ -idle-timeout 60

On 9/3/06, Nicolas B. [email protected] wrote:

thanks for your answers.


Posted via http://www.ruby-forum.com/.


seth at subimage interactive
http://www.subimage.com/sublog/