See my response. The problem is not in Lucene; its in general a problem of 
fixed thread pools that execute other callables from within a callable running 
at the moment in the same thread pool. Callables are simply waiting for each 
other.

Use a separate thread pool for Lucene (or whenever you execute new callables 
from within another running callable)

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de

> -----Original Message-----
> From: Benson Margulies [mailto:bimargul...@gmail.com]
> Sent: Monday, February 20, 2012 1:47 AM
> To: java-user@lucene.apache.org
> Subject: Re: Hanging with fixed thread pool in the IndexSearcher multithread
> code
> 
> See https://issues.apache.org/jira/browse/LUCENE-3803 for an example of the
> hang. I think this nets out to pilot error, but maybe Javadoc could protect 
> the
> next person from making the same mistake.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org


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

Reply via email to