users@glassfish.java.net

Re: "Too many open files" problem

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 May 2007 02:10:51 PDT

I am using JDK 1.5, and an application that ran on pre-b33 builds without problems, had the "Too many open files" problems after about 48 hours.

On my Linux distribution, the max number of open files is 1024 by default (for root and non-root). Changing that to 2048 solves the problem (at least for 72 hours and counting ;)).

I wonder if something has changed in b33, causing more file descriptors to be used?

- Johan
[Message sent by forum member 'johanvos' (johanvos)]

http://forums.java.net/jive/thread.jspa?messageID=218478