lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lucene-...@jakarta.apache.org
Subject [Jakarta Lucene Wiki] Updated: LockObtainTimedOut
Date Thu, 29 Apr 2004 16:36:11 GMT
   Date: 2004-04-29T09:36:10
   Editor: 12.13.3.253 <>
   Wiki: Jakarta Lucene Wiki
   Page: LockObtainTimedOut
   URL: http://wiki.apache.org/jakarta-lucene/LockObtainTimedOut

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -13,3 +13,15 @@
 Note that on Tomcat locks are kept in TOMCAT_HOME/temp and this can become confusing because
if you check /tmp there are no lock files.
 
 Ideally Lucene would call lock.getAbsolutePath() and print this when it gives an exception
about not being able to open an index.  This would save a LOT of time in this situation.
+
+You can also pass lucene a system property to increase
+the commit/write lock timeout interval, like so:
+
+-Dorg.apache.lucene.commitLockTimeout=60000
+
+or 
+
+-Dorg.apache.lucene.writeLockTimeout=60000
+
+The above sets the timeout to one minute.
+

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


Mime
View raw message