Hi
  According to
http://wiki.apache.org/solr/SolrPerformanceProblems#Slow_startup。
  It explains that the tlog file will swith to a new when hard commit
happened.


  However,my tlog shows different.
tlog.0000000000000000003   5.16GB
tlog.0000000000000000004   1.56GB
tlog.0000000000000000002   610.MB

  there are only a fewer tlogs which suppose to be ten files, and each one
is vary huge.Even there are lots of hard commit happened.

 So why the number of the tlog files does not increase ?


  here are settings of the  DirectUpdateHandler2:
 <updateHandler class="solr.DirectUpdateHandler2">

  <updateLog>
      <str name="dir">${solr.ulog.dir:}</str>
   </updateLog>

  <autoCommit>
       <maxTime>1200000</maxTime>
       <maxDocs>1000000</maxDocs>
       <openSearcher>false</openSearcher>
     </autoCommit>


  <autoSoftCommit>
         <maxTime>600000</maxTime>
       <maxDocs>500000</maxDocs>
   </autoSoftCommit>

</updateHandler>

Reply via email to