tags:

views:

20

answers:

1

Hi, on glassfish v 3.0.1, I use to get a too many open file exception raising after a while. The file descriptor limit is set to 1024 for the glassfish user that launch the server. I wonder if there is a recommended file descriptor limit to avoid this annoying exception. Just met me know. Thanks

A: 

IMO, there is no "universal" value, it depends on things like the host(s), your app, the number of clients...

In the Chapter 5 Tuning the Operating System and Platform, they show how to set it to 8192 on Solaris which seems to be a reasonable first step.

See also Thread: "Too many open files" error in Linux.

Pascal Thivent
Thanks, we will try various configurations and if it stable will let you know.
Alexandre GUIDET