I have created a web admin panel using ROR when i run my application the mogrel server utilizes more CPU and memory? How to reduce the cpu utilization and memory utilization in general? Just for a simple add, remove, modify functionality the cpu and memory goes beyond 30% utilization. How to reduce it? Thanks in advance Regards, Jose Martin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
For production you can try using ruby enterprise ( http://www.rubyenterpriseedition.com/ ). This should reduce your resources (RAM) usage down about 30% -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
use nginx+thin/nginx+passenger will definitely reduce memory utilization. On 1/7/10, RaW <rafal-Q8ZZopXfmDvk1uMJSBkQmQ@public.gmane.org> wrote:> For production you can try using ruby enterprise ( > http://www.rubyenterpriseedition.com/ > ). > This should reduce your resources (RAM) usage down about 30% >-- Sandip --- www.funonrails.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I hope the configurations are done properly to server appropriate requests from Apache (web server) to application server, check the same thing doing webrick. If it is the same, then possibly you may need to look in your SQL queries or Code optimizations. On Jan 7, 12:30 pm, dare ruby <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I have created a web admin panel using ROR when i run my application the > mogrel server utilizes more CPU and memory? How to reduce the cpu > utilization and memory utilization in general? > > Just for a simple add, remove, modify functionality the cpu and memory > goes beyond 30% utilization. How to reduce it? > > Thanks in advance > > Regards, > Jose Martin > -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
there are many optimization available: 1) try to use passenger (or thin) 2) try different ruby VM ( jruby , RubyEE , ruby 1.9) and find which work best with your application. 3) look for memory leakage in your application 4) Use some tool like New Relic for fine tuning performance 5) Try to move some computation away from the server into the client using Javascript ( example for sorting a table of result) -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.