On Aug 22, 2008, at 6:45 PM, Pratik Solanki wrote:
Jacob,
In order to use more than 10240 file descriptors in Java, you'll
need to pass '-XX:-MaxFDLimit' to the VM.
The reason is that Java tries to "up" its max file descriptor limit
in normal usage to OPEN_MAX using setrlimit. OPEN_MAX is set to
10240 in the include files and this hurts you when you are
explicitly using a sysctl to bump up the limit in the kernel. By
passing '-XX:-MaxFDLimit', you'll tell the VM to not call setrlimit
and hence it should be able to access more file descriptors.
If it's not, and I don't know for sure it isn't somewhere, but if
it's not, this would be something else that would be good to have
documented somewhere.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden