lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "juan lu" <luj...@bidlink.cn>
Subject Too many open files error occurs when changing 1.3 final to 1.4 rc2
Date Tue, 08 Jun 2004 01:30:07 GMT
I had been using 1.3 final for 1 month, everything was ok. A week ago, i changed 1.3 final
to 1.4 rc2, added sort when searching ,then errors below occurs. Why is that? What changed
in release 1.4 ? Thanks a lot!

java.lang.NullPointerException
       at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:94)
       
       at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:97)
       at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:84)
       at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:84)        
       at org.apache.lucene.store.Lock$With.run(Lock.java:109)
       at org.apache.lucene.index.IndexReader.open(IndexReader.java:73)
       at org.apache.lucene.index.IndexReader.open(IndexReader.java:61)
       at org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:38)

java.io.IOException: Too many open files
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(File.java:828)
        at org.apache.lucene.store.FSDirectory$1.obtain(FSDirectory.java:297)
        at org.apache.lucene.store.Lock.obtain(Lock.java:53)
        at org.apache.lucene.store.Lock$With.run(Lock.java:108)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:73)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:61)
        at org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:38)

java.io.FileNotFoundException: /home/dbjh/jakarta-tomcat-4.1.30/webapps/dbjh/search/Index/_2dqe.fdx
(Too many open files)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
        at org.apache.lucene.store.FSInputStream$Descriptor.<init>(FSDirectory.java:366)
        at org.apache.lucene.store.FSInputStream.<init>(FSDirectory.java:395)
        at org.apache.lucene.store.FSDirectory.openFile(FSDirectory.java:265)
        at org.apache.lucene.index.FieldsReader.<init>(FieldsReader.java:43)
        at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:103)
        at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:84)
        at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:84)
        at org.apache.lucene.store.Lock$With.run(Lock.java:109)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:73)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:61)
        at org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:38)
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message