Some things to try:
- turn off autowarming on the master
- turn off autocommit, unless you really need it, or change it to be
less agressive:  autocommitting every 50 docs is bad if you are
rapidly adding documents.
- set maxWarmingSearchers to 1 to prevent the buildup of searchers

-Yonik

On Fri, May 30, 2008 at 3:39 PM, Gaku Mak <[EMAIL PROTECTED]> wrote:
>
> I started running the test on 2 other machines with similar specs but more
> RAM (4G). One of them now has about 60k docs and still running fine. On the
> other machine, solr died at about 43k docs. A short while before solr died,
> I saw that there were 5 searchers at the same time. Do any of you know why
> would solr create 5 searchers, and if that could cause solr to die? Is there
> any way to prevent this? Also is there a way to totally disable the searcher
> and whether that is a way to optimize the solr master?
>
> I copied the following from the SOLR Statistics page in case it has
> interested info:
>
> name:    [EMAIL PROTECTED] main
> class:  org.apache.solr.search.SolrIndexSearcher
> version:        1.0
> description:    index searcher
> stats:  caching : true
> numDocs : 42754
> maxDoc : 42754
> readerImpl : MultiSegmentReader
> readerDir :
> org.apache.lucene.store.FSDirectory@/var/lib/solr/peoplesolr_0002/solr/data/index
> indexVersion : 1211702500453
> openedAt : Fri May 30 10:04:15 PDT 2008
> registeredAt : Fri May 30 10:05:05 PDT 2008
>
> name:   [EMAIL PROTECTED] main
> class:  org.apache.solr.search.SolrIndexSearcher
> version:        1.0
> description:    index searcher
> stats:  caching : true
> numDocs : 42754
> maxDoc : 42754
> readerImpl : MultiSegmentReader
> readerDir :
> org.apache.lucene.store.FSDirectory@/var/lib/solr/peoplesolr_0002/solr/data/index
> indexVersion : 1211702500453
> openedAt : Fri May 30 10:03:24 PDT 2008
> registeredAt : Fri May 30 10:03:41 PDT 2008
>
> name:   [EMAIL PROTECTED] main
> class:  org.apache.solr.search.SolrIndexSearcher
> version:        1.0
> description:    index searcher
> stats:  caching : true
> numDocs : 42675
> maxDoc : 42675
> readerImpl : MultiSegmentReader
> readerDir :
> org.apache.lucene.store.FSDirectory@/var/lib/solr/peoplesolr_0002/solr/data/index
> indexVersion : 1211702500450
> openedAt : Fri May 30 10:00:53 PDT 2008
> registeredAt : Fri May 30 10:01:05 PDT 2008
>
> name:   [EMAIL PROTECTED] main
> class:  org.apache.solr.search.SolrIndexSearcher
> version:        1.0
> description:    index searcher
> stats:  caching : true
> numDocs : 42697
> maxDoc : 42697
> readerImpl : MultiSegmentReader
> readerDir :
> org.apache.lucene.store.FSDirectory@/var/lib/solr/peoplesolr_0002/solr/data/index
> indexVersion : 1211702500451
> openedAt : Fri May 30 10:02:20 PDT 2008
> registeredAt : Fri May 30 10:02:22 PDT 2008
>
> name:   [EMAIL PROTECTED] main
> class:  org.apache.solr.search.SolrIndexSearcher
> version:        1.0
> description:    index searcher
> stats:  caching : true
> numDocs : 42724
> maxDoc : 42724
> readerImpl : MultiSegmentReader
> readerDir :
> org.apache.lucene.store.FSDirectory@/var/lib/solr/peoplesolr_0002/solr/data/index
> indexVersion : 1211702500452
> openedAt : Fri May 30 10:02:55 PDT 2008
> registeredAt : Fri May 30 10:02:57 PDT 2008
>
> Thank you all so much for your help. I really appreciate it.
>
> -Gaku
>
> Yonik Seeley wrote:
>>
>> It's most likely a
>> 1) hardware issue: bad memory
>>  OR
>> 2) incompatible libraries (most likely libc version for the JVM).
>>
>> If you have another box around, try that.
>>
>> -Yonik
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Solr-indexing-configuration-help-tp17524364p17566612.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Reply via email to