users@glassfish.java.net

Re: Too many open files issue

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 11 Oct 2012 18:15:33 -0700

I replied on another thread where you asked a similar question:

There shouldn't be that many tx log files. But it is safe to remove the tx
directory when the server is down *and* there is no need to recover any
resources upon restart.

-marina

John Lister wrote:
> Hi, I've just upgraded to 3.1.2.2 from 3.1 and I'm now experiencing a
> problem (especially with the admin console). I started getting a "too
> many open files" exception on many operations. A quick look at the
> open files shows over 4500 transaction extent files open. Restarting
> glassfish doesn't clear these up, only physically deleting them when
> glassfish is stopped.
>
> Is this normal? It strikes me that these should be temporary files and
> closed reasonably quickly. Any idea where to look to see what is
> causing this? The server runs mainly a number of web apps which are
> based around JSR using EJBs and CDI beans.
>
> Thanks
>
> John