Sorry, this is my mistake.

ulimit -n says 50. That explains it, I guess. 

Should I change mergeFactor to something like 5 (instead of default) to work with 
ulimit?

Thanks.

----- Original Message ----- 
From: "Joshua O'Madadhain" <[EMAIL PROTECTED]>
To: "Nikhil G. Daddikar" <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 10:55 AM
Subject: Re: Too many open files exception...


: Nikhil:
: 
: I don't have an answer to your question, but I can tell you that you're
: not likely to get one unless you supply a sample of code that generates
: this error.  You haven't really given troubleshooters enough to work with.
: 
: Good luck--
: 
: Joshua
: 
:  [EMAIL PROTECTED] Per Obscurius...www.ics.uci.edu/~jmadden
:     Joshua Madden: Information Scientist, Musician, Philosopher-At-Tall
:  It's that moment of dawning comprehension that I live for--Bill Watterson
: My opinions are too rational and insightful to be those of any organization.
: 
: On Mon, 18 Mar 2002, Nikhil G. Daddikar wrote:
: 
: > Can anyone please shed some light on this? ulimit says unlimited
: > 
: > I am on redhat running lucene 1.2 rc4
: > 
: > Haven't change any lucene defaults like mergeFactor etc.
: > 
: > This is really a big problem for us as it's on our production system!
: > -ngd.
: > 
: > java.io.FileNotFoundException: /home/celoxis/psa_root/data/indices/2/4/_3l.f9 (Too 
:many open files)
: > : at java.io.RandomAccessFile.open(Native Method)
: > : at java.io.RandomAccessFile.<init>(RandomAccessFile.java:200)
: > : at org.apache.lucene.store.FSInputStream$Descriptor.<init>(Unknown Source)
: > : at org.apache.lucene.store.FSInputStream.<init>(Unknown Source)
: > : at org.apache.lucene.store.FSDirectory.openFile(Unknown Source)
: > : at org.apache.lucene.index.SegmentReader.openNorms(Unknown Source)
: > : at org.apache.lucene.index.SegmentReader.<init>(Unknown Source)
: > : at org.apache.lucene.index.SegmentReader.<init>(Unknown Source)
: > : at org.apache.lucene.index.IndexReader$1.doBody(Unknown Source)
: > : at org.apache.lucene.store.Lock$With.run(Unknown Source)
: > : at org.apache.lucene.index.IndexReader.open(Unknown Source)
: > : at org.apache.lucene.index.IndexReader.open(Unknown Source)
: > : at org.apache.lucene.search.IndexSearcher.<init>(Unknown Source)
: > 
: > 
: > 
: > --
: > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
: > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
: > 
: > 
: 
: 
: 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to