Hi all, I am using Sunspot Search Engine in my app. When I deployed my app in production It it bit slower side. My Server Details: ram 256 Ubuntu 11.10 How can I check why my app is slow in production can any one help me out to solve this issue. Cheers, Kp -- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/DU-r2lvBLVQJ. For more options, visit https://groups.google.com/groups/opt_out.
On 25 January 2013 06:21, keerthi priya <emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, > > I am using Sunspot Search Engine in my app. When I deployed my app in > production It it bit slower side. > My Server Details: > > ram 256 > Ubuntu 11.10 > > How can I check why my app is slow in production can any one help me out to > solve this issue.Google for profile rails Colin> > > Cheers, > Kp > > -- > 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 > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/DU-r2lvBLVQJ. > For more options, visit https://groups.google.com/groups/opt_out. > >-- 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 https://groups.google.com/groups/opt_out.
On Fri, Jan 25, 2013 at 2:44 AM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:>> I am using Sunspot Search Engine in my app. When I deployed my app in >> production It it bit slower side.>> ram 256> profile railsAs Colin says, you need to look at your Rails app''s performance (NewRelic rpm is extremely helpful) but 256mb is very limited to run a Rails app *and* a Java app server. You need to look at how Solr is configured, what JVM is in use, how much memory it''s using, etc. Good luck. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- 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 https://groups.google.com/groups/opt_out.
On 25 January 2013 15:42, Hassan Schroeder <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, Jan 25, 2013 at 2:44 AM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > >>> I am using Sunspot Search Engine in my app. When I deployed my app in >>> production It it bit slower side. > >>> ram 256 > >> profile rails > > As Colin says, you need to look at your Rails app''s performance > (NewRelic rpm is extremely helpful) but 256mb is very limited to > run a Rails app *and* a Java app server. > > You need to look at how Solr is configured, what JVM is in use, > how much memory it''s using, etc.Hassan is right, I had not noticed the ram value. The first thing I would do is put in a couple of GB at least. Colin -- 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 https://groups.google.com/groups/opt_out.
Thanks guys. but NewRelic is not free for production for development it is free. I have increased my ram to 1GB it is working good now. On Fri, Jan 25, 2013 at 9:25 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 25 January 2013 15:42, Hassan Schroeder <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > On Fri, Jan 25, 2013 at 2:44 AM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> > wrote: > > > >>> I am using Sunspot Search Engine in my app. When I deployed my app in > >>> production It it bit slower side. > > > >>> ram 256 > > > >> profile rails > > > > As Colin says, you need to look at your Rails app''s performance > > (NewRelic rpm is extremely helpful) but 256mb is very limited to > > run a Rails app *and* a Java app server. > > > > You need to look at how Solr is configured, what JVM is in use, > > how much memory it''s using, etc. > > Hassan is right, I had not noticed the ram value. The first thing I > would do is put in a couple of GB at least. > > Colin > > -- > 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 https://groups.google.com/groups/opt_out. > > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.