lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From root23 <s.manuj...@gmail.com>
Subject Latency in updates.
Date Fri, 12 Oct 2018 14:46:13 GMT
Hi all,
We are having an issue where we are seeing latency in updates. We are on
solr 6.
The new documents are reflected right away but updates to existing document
take sometime from 30 seconds to couple of minutes.

This is some relevant things from our solrconfig.

Our autosoft commit time is 500ms.(I know its low.)
<autoSoftCommit>
<maxTime>500</maxTime>
</autoSoftCommit>

RambufferSize
<ramBufferSizeMB>2048</ramBufferSizeMB>
<mergeFactor>25</mergeFactor

<int name="maxThreadCount">8</int>
<int name="maxMergeCount">16</int>

We have ssd and 16 physical cores with HT enabled.


Also in our logs i see following .
Lucene flush took 0.003 seconds with 2 segments flushed and 0.022 MB flushed

SolrMetricsEventListener.java:65 - Lucene flush took 0.001 seconds with 1
segments flushed and 0.009 MB flushed

SolrMetricsEventListener.java:65 - Lucene flush took 0.006 seconds with 2
segments flushed and 0.057 MB flushed

SolrMetricsEventListener.java:65 - Lucene flush took 0.008 seconds with 5
segments flushed and 0.046 MB flushed


so if you see we are flushing too often and very small amount . May be its
because of the low autosoft commit time ? 
Can someone explain to me what is going on. Are these things related. 
And why is that new document addition is fast but updates take time. I know
updates have to do a delete first. Is that a reason ? 



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Mime
View raw message