Hi. I'm running a multicore solr 3.2.0 instance with jetty on java 1.6.0_26-b03. I'm seeing a number of "Bad file descriptor" exceptions in the solr log that I have been unable to isolate or track down:
-- SEVERE: java.io.IOException: Bad file descriptor at java.io.RandomAccessFile.close0(Native Method) -- SEVERE: java.io.FileNotFoundException: /data/solr-server/github2/issues2/data/index/_2kjr.cfs (Bad file descriptor) at java.io.RandomAccessFile.open(Native Method) -- Exception in thread "Lucene Merge Thread #0" org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /data/solr-server/github2/gists2/data/index/_m4i.fdx (Bad file descriptor) at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:517) -- SEVERE: Error during auto-warming of key:org.apache.solr.search.QueryResultKey@465d7421:java.io.IOException: Bad file descriptor at sun.nio.ch.FileDispatcher.pread0(Native Method) -- A more detailed log with stack traces and timestamps is available at https://gist.github.com/1047287. Some of the exceptions appear to occur in pairs, possibly suggesting a race condition between two or more threads. Additionally, after a few days of uptime the server stops indexing and starts throwing lock errors on every update request: SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/data/solr-server/github2/issues2/data/index/write.lock Aman