Tomcat – Solr performance (tomcat) – High load

solrtomcattomcat6

I'm relatively new to solr. I have a production site running on a VPS, but now I'm having serious load issues. I don't know where to start in order to get the load down…

VPS specs (linode.com 512)

  • 512 MB RAM
  • 4 CPU (1x priority)

Looks like my solr server (tomcat) is using a lot of CPU power

enter image description here

You can find my solrconfig.xml on http://pastebin.com/qdfi8Med
and my schema.xml on http://pastebin.com/rRusDP8b

I've tried to increaese the cache size, but this didn't do anything on the load. You can see the stats page below.

EDIT – Because the screenshot was unclear, I took smaller screenshots if what (I think) is important.

Dismax query handler stats

Dismax query handler stats

Caches stats
enter image description here

enter image description here

enter image description here

Thanks for the help!

Best Answer

In my experience Solr is quite resource-intensive. According to your screencaps, you are trying to handle 21 requests per second on a server with 512MB of RAM. Very simply, you might need to just throw more hardware at this problem to get it under control.

Related Topic