Forum: Ruby on Rails Usage of ram for Sunspot Search engine

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1d4d78bf072607d3522fe3ceae4b7a9e?d=identicon&s=25 keerthi priya (Guest)
on 2013-01-25 07:22
(Received via mailing list)
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
5f94b9b346c2aa648a80bc259978e5bc?d=identicon&s=25 Colin Law (Guest)
on 2013-01-25 11:46
(Received via mailing list)
On 25 January 2013 06:21, keerthi priya <emailtokeerthipriya@gmail.com>
wrote:
> solve this issue.
Google for
profile rails

Colin
Bee69cfed999cd13e3bff73d472a39ee?d=identicon&s=25 Hassan Schroeder (Guest)
on 2013-01-25 16:43
(Received via mailing list)
On Fri, Jan 25, 2013 at 2:44 AM, Colin Law <clanlaw@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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
5f94b9b346c2aa648a80bc259978e5bc?d=identicon&s=25 Colin Law (Guest)
on 2013-01-25 16:58
(Received via mailing list)
On 25 January 2013 15:42, Hassan Schroeder <hassan.schroeder@gmail.com>
wrote:
> (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
1d4d78bf072607d3522fe3ceae4b7a9e?d=identicon&s=25 keerthi priya (Guest)
on 2013-01-28 05:57
(Received via mailing list)
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.
This topic is locked and can not be replied to.