Usage of ram for Sunspot Search engine

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

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

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 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

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.