Monday, September 23, 2013

[Rails] Re: Two ruby processes are running for one Rails app



On Monday, September 23, 2013 1:12:00 PM UTC+1, Ruby-Forum.com User wrote:
Hi,

  I'm using ruby 1.8.7 with rails app(2.3.11) and deployed the app with
apache server. My app performance is too slow so i configured the app
with new relic and could see the ruby has 2 instances. One is for
ruby(nobody) =201 MB  and one more for ruby(root)= 73.9 MB. I killed the
processes but still can see the same. Please help me and say why 2
instances are running for ruby?.

It depends how you are running your app, but passenger for example has a separate spawner process responsible for starting new application instances.

Fred

PS: your app is using a version of rails which most likely allows remote code execution.



 
--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8f9aea50-e1a8-41cb-8782-7d45a32463db%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate