lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Taylor <paul_t...@fastmail.fm>
Subject Lucene Merge failing on Open Files
Date Mon, 04 Apr 2011 19:05:47 GMT
Problem trying to merge indexes in the background whilst building some others, works okay on
my humble labtop but fails on another machine, although it seems to allow 700,000 file handles

Exception in thread "Lucene Merge Thread #0" org.apache.lucene.index.MergePolicy$MergeException:
java.io.FileNotFoundException: /home/musicbrainz/search_server/data/recording_index/_rs.cfs
(Too many open files)
         at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:347)
         at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:312)
Caused by: java.io.FileNotFoundException: /home/robert/musicbrainz/search_server/data/recording_index/_rs.cfs
(Too many open files)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
         at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput$Descriptor.<init>(SimpleFSDirectory.java:76)
         at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.<init>(SimpleFSDirectory.java:97)
         at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.<init>(NIOFSDirectory.java:98)
         at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:78)
         at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:67)
         at org.apache.lucene.index.SegmentReader$CoreReaders.<init>(SegmentReader.java:115)
         at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:605)
         at org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:622)
         at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4394)
         at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4000)
         at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:231)
         at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:288)

Anyone got some ideas on how I can get to the bottom of this, Im using lucene 3.03

thank Paul


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


Mime
View raw message