I think I had the same problem (the same error at least) and submitted a
patch.  The patch adds a new config option to use the nio locking
facilities instead of the default lucene locking.  In the ~week since I
haven't seen the issue after applying the patch (ymmv)

https://issues.apache.org/jira/browse/SOLR-240

- will

-----Original Message-----
From: Chris Hostetter [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 25, 2007 1:50 AM
To: solr-user@lucene.apache.org
Subject: Re: index problem with write lock


: i know  how to  fix it.
:
: but i just don't know why it happen.
:
: this solr error information:
:
: > Exception during commit/optimize:java.io.IOException: Lock obtain
timed
: > out: SimpleFSLock@/usr/solrapp/solr21/data/index/write.lock

that's the problem you see ... but in normal SOlr operation there's no
reason why there should be any problem getting the write lock -- Solr
only
ever makes one IndexWriter at a time.

which is why i asked about any other errors earlier in your log
(possibly
much earlier) to indicate *abnormal* Solr operation.


-Hoss

Reply via email to