lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Shvets <ser...@bintime.com>
Subject Re: Solr hangs / LRU operations are heavy on cpu
Date Fri, 20 Mar 2015 15:28:16 GMT
Hello Umesh,

Thank you, indeed that gave positive results so far.

we  changed  completely to LFU. Today it went quite okay. We wait till
it shows more stability and then work out the optimal cache size.

Below is a summary of the changes.

- <filterCache class="solr.FastLRUCache" size="512" initialSize="512" autowarmCount="0"/>
- <queryResultCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0"/>
- <documentCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0"/>
- <cache name="perSegFilter" class="solr.search.LRUCache" size="10" initialSize="0" autowarmCount="10"
regenerator="solr.NoOpRegenerator"/>
+ <filterCache class="solr.LFUCache" size="512" initialSize="512" autowarmCount="0" cleanupThread="True"
/>
+ <queryResultCache class="solr.LFUCache" size="512" initialSize="512" autowarmCount="0"
cleanupThread="True" />
+ <documentCache class="solr.LFUCache" size="512" initialSize="512" autowarmCount="0" cleanupThread="True"
/>
+ <fieldValueCache class="solr.LFUCache" size="512" autowarmCount="256" showItems="10"
cleanupThread="True" />
+ <cache name="perSegFilter" class="solr.LFUCache" size="10" initialSize="0" autowarmCount="10"
regenerator="solr.NoOpRegenerator" cleanupThread="True" />



-- 
Best regards,
 Sergey                            mailto:sergey@bintime.com


Mime
View raw message