On Jul 10, 2013, at 9:35 AM, John Merlino <[email protected]> wrote:

> When I view the output of the top command on ubuntu, I notice sometimes there 
> is 6 ruby processes. When are each of these processes spawned?
> 
> http://tinypic.com/view.php?pic=2i24rwh&s=5
> 
> I cannot imagine that it's every time someone loads the rails application 
> from a different ip address, otherwise I would assume there would be more 
> ruby processes spawned. 

In whatever is managing your Rails app, there's probably a setting for number 
of workers. These can be dynamic, or not, depending. Multiple workers running 
your Rails app is pretty standard, actually, to respond to multiple requests. 
This is something you see all the time with apache, nginx, lighty, fastcgi and 
other things as well.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0D2CCE32-A886-4609-86DB-70C2555DC662%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to