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"/>
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With