top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

Does each ip request to a ruby on rails application on a server spawn a new ruby process?

0 votes
68 views

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.

posted Jul 10, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

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.

answer Jul 11, 2013 by anonymous
Similar Questions
0 votes

I have a CentOS server which is part of an offline/private network. I need to install Ruby on Rails,
MySQL, Apache, and PHPmyAdmin on the server. Please help?

+2 votes

I want to know how to configure Webrick server and how to display URL without changing it when a request comes to it. So please help in that.

+1 vote

I am lost in an update. updated rails 3 to 4 and now stuck with devise...

I have updated views and controller code & user.rb, but I don't know where the error comes from...nor do I see the same reset token in the database.

+1 vote

I have more than 6 years of experience as PHP Developer, and now I want to learn Ruby on rails. But I am confused how far I can achieve the same. Can you please let me know how long it will take me to learn Ruby on Rails and start a project.


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...