Did you do some extra locking around IndexWriter using the IndexWriter
itsself as mutex (e.g. synchronized(writer) {...}). This is not supported
and hangs. IndexWriter itself is thread-safe.Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Jamie Band [mailto:[email protected]] > Sent: Friday, October 09, 2009 12:23 AM > To: [email protected] > Subject: Index.close() infinite TIME_WAITING > > Hi All > > I have a long running situation where our indexing thread is getting > stuck indefinitely in IndexWriter's close method. Yourkit shows the > thread to be stuck in TIME_WAITING. Any idea's on what could be causing > this? > Could it be one of the streams or readers we passed to the document? > > I am running Lucene 2.9.0. > > Many thanks in advance > > Jamie > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
