Usage of ram for Sunspot Search engine

28 views
Skip to first unread message

keerthi priya

unread,
Jan 25, 2013, 1:21:43 AM1/25/13
to rubyonra...@googlegroups.com
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

Colin Law

unread,
Jan 25, 2013, 5:44:04 AM1/25/13
to rubyonra...@googlegroups.com
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 rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-ta...@googlegroups.com.
> 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.
>
>

Hassan Schroeder

unread,
Jan 25, 2013, 10:42:03 AM1/25/13
to rubyonra...@googlegroups.com
On Fri, Jan 25, 2013 at 2:44 AM, Colin Law <cla...@googlemail.com> 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.

Good luck.
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

Colin Law

unread,
Jan 25, 2013, 10:55:51 AM1/25/13
to rubyonra...@googlegroups.com
On 25 January 2013 15:42, Hassan Schroeder <hassan.s...@gmail.com> wrote:
> On Fri, Jan 25, 2013 at 2:44 AM, Colin Law <cla...@googlemail.com> 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

keerthi priya

unread,
Jan 27, 2013, 11:56:39 PM1/27/13
to rubyonra...@googlegroups.com
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.

--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages