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?
I am not sure about Solaris, I will have to check with solaris admin
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.