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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
subimage interactive
2006-Sep-04  02:02 UTC
Re: A question about Ruby on rails and Apache 2
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...
<IfModule mod_fastcgi.c>
  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
</IfModule>
On 9/3/06, Nicolas Blanco
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
>
> 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.
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
-- 
seth at subimage interactive
http://www.subimage.com/sublog/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---