Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tools for finding solr performance issues

I have a solr server, which runs into performance issue at random. The queries which result in longer qtimes, dont take the same time if I try those once again. The performance issue even arises sometimes when the load on server is not high.

So I wanted to know if there are any tools available or are there any options in solr available to pin-point the problem leading to performance issues.

some of the parameters in solrconfig.xml used are -

<filterCache class="solr.LRUCache" size="1024" initialSize="512" autowarmCount="1000"/>
<queryResultCache class="solr.LRUCache" size="512" initialSize="128" autowarmCount="0"/>
<documentCache class="solr.LRUCache" size="1024" initialSize="512" autowarmCount="0"/>
<enableLazyFieldLoading>true</enableLazyFieldLoading>
<queryResultWindowSize>30</queryResultWindowSize>
<queryResultMaxDocsCached>100</queryResultMaxDocsCached>
<HashDocSet maxSize="10000" loadFactor="0.75"/>
like image 629
Raks Avatar asked Jan 03 '11 13:01

Raks


People also ask

How do I monitor Solr?

Administration and monitoring can be performed using the web-based administration console, through the command line interface, or using REST APIs. Common administrative tasks include: Metrics Reporting: Details of Solr's metrics registries and Metrics API.

How much ram does Solr need?

If your OS, Solr's Java heap, and all other running programs require 4GB of memory, then an ideal memory size for that server is at least 12GB. You might be able to make it work with 8GB total memory (leaving 4GB for disk cache), but that also might NOT be enough.


1 Answers

I think you should start by reviewing Solr Performance Factors on the Solr Wiki. You can also use the tool SolrMeter to help with stress testing your changes.

like image 125
Paige Cook Avatar answered Oct 09 '22 18:10

Paige Cook