-
1. Re: java.net.SocketException: Too many open files
peterj Apr 3, 2009 1:10 PM (in response to igain)The number of files that can opened is entirely a function of the oS, not the JVM. However, the OS must have enough memory available to maintain the open file descriptors.
Does Solaris have a utility that you can use to list the open files for a process, or at least report how many open files it has? -
2. Re: java.net.SocketException: Too many open files
igain Apr 3, 2009 1:32 PM (in response to igain)Thanks Peter,
I am not sure about Solaris, I will have to check with solaris admin -
3. Re: java.net.SocketException: Too many open files
igain Apr 3, 2009 6:41 PM (in response to igain)Hi Peter,
Even fater increasing the file decriptor limit to 65000, after 2 hrs we hit same error.
We have been load testing with same number of users, however suddenly it has started giving "Too Many files open"
We are using Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode) , Sun OS 51.(sparc)
and Jboss 4.3
If i add -XX:+MaxFDLimit in JVM will it help?? Since it is solaris specific.