I am getting a "Too Many Open Files" Exception. I've read the FAQ about
lowering the merge factor (currently set to 25), issuing a ulimit -n
, etc... but I am still getting the "Too Many Open Files"
Exception (yes... I'm making sure I close all writer/searchers/read
: I am getting a "Too Many Open Files" Exception. I've read the FAQ about
: lowering the merge factor (currently set to 25), issuing a ulimit -n
: , etc... but I am still getting the "Too Many Open Files"
: Exception (yes... I'm making sure I close all writer/sear
: so ... what is your ulimit set to?
Issuing a "limit descriptors", I see that I have it set to 1024
: how many files are in your index directory?
In the directory that I'm getting this particular error: 3
I have 24 different index directories... I think the most I saw at that
particular time i
PROTECTED]
Sent: Tuesday, July 03, 2007 9:41 PM
To: java-user@lucene.apache.org
Subject: Re: Too Many Open files Exception
: I am getting a "Too Many Open Files" Exception. I've read the FAQ
about
: lowering the merge factor (currently set to 25), issuing a ulimit -n
: , etc... but I a
: Issuing a "limit descriptors", I see that I have it set to 1024
: In the directory that I'm getting this particular error: 3
: I have 24 different index directories... I think the most I saw at that
: particular time in any one index was 20
as i said ... it doesn't matter where in the code you
: Ok... after spending time looking at the code... I see that a method is
: not closing a TokenStream in one of the classes (a class that is
: instantiated quite often) - I would imagine this could quite possibly be
: the culprit?
can you be more specific about the code in question?
I'm not sure