You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Mindaugas Žakšauskas <mi...@gmail.com> on 2009/09/07 11:28:04 UTC

Re: too many file descriptors opened by Lucene shows (deleted) in /proc

On Mon, Sep 7, 2009 at 6:17 AM, Ganesh<em...@yahoo.co.in> wrote:
> Any adivice on this. I am closing the reader when not in use. But still /proc/<processid>/fd shows many files as (deleted). What are other things i need to look in to.

If I was in your shoes, I'd wait for a moment when the problem comes
up, do a memory dump (hint: jmap -dump:format=b,file=filename pid),
then fire up a profiler and search for instances of
org.apache.lucene.index.IndexReader, org.apache.lucene.store.Directory
and if that doesn't help - java.io.File. This would show you the
traces all the way to the top.

m.

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