lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Multiple Blocking Threads with search during an Index reload
Date Thu, 25 Oct 2012 02:00:08 GMT
You haven't given us much to go on here, you might review:

http://wiki.apache.org/solr/UsingMailingLists

But one can imagine that this must be something you're doing that's
unusual, or more people would have reported something similar.

At a guess (since you haven't really told us _anything_ about
your setup), you're committing on the master very frequently, perhaps
optimizing (and you shouldn't do this latter) and your polling interval on the
slaves is very short..  Try committing every 5 minutes and make your polling
interval 5 minutes also as an experiment perhaps?

But unless you tell us more about your configuration, it's all just a guess...

Best
Erick

On Tue, Oct 23, 2012 at 5:03 PM, Raghavan Parthasarathy
<raghavan8585@gmail.com> wrote:
> Hi,
>
> We are using Lucene-core and we reindex once a day and plan to do it more
> often in a day sooner.
>
> During re loading of the lucene indexes, some of the slave servers don't
> recover and we have to restart them to get them working again.
>
> Here is the stacktrace:
>
> Here is the Full stack trace of BLOCKED search class:
>
> "daemon prio=5 state=BLOCKED
>         at
> org.apache.lucene.index.SegmentReader$CoreReaders.getTermsReader(SegmentReader.java:169)
>         at
> org.apache.lucene.index.SegmentTermDocs.seek(SegmentTermDocs.java:57)
>         at
> org.apache.lucene.search.MultiTermQueryWrapperFilter.getDocIdSet(MultiTermQueryWrapperFilter.java:120)
>         at
> org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:176)
>         at
> org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:104)
>         at
> org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:176)
>         at
> org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:104)
>         at
> org.apache.lucene.search.CachingWrapperFilter.getDocIdSet(CachingWrapperFilter.java:203)
>         at
> org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:176)
>         at
> org.apache.lucene.search.ChainedFilter.getDocIdSet(ChainedFilter.java:104)
>         at
> org.apache.lucene.search.CachingWrapperFilter.getDocIdSet(CachingWrapperFilter.java:203)
>         at
> org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:544)
>         at
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:525)
>         at
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:384)
>         at
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:291)
>         at
> com.atypon.publish.search.SearchWorker.search(SearchWorker.java:98)
>         at
> com.atypon.publish.search.SearchWorker.search(SearchWorker.java:41)
> .....
> ....
>
>
> We are using lucene-core version 3.1. Please tell us what we need to do to
> resolve this issue.
>
> Thanks,
> Raghavan

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message