Jacob Scott wrote:
I'd like to run java on OSX Leopard with a high file handle limit.
My shell is configured correctly:
administrators-mac-pro:~ jhscott$ ulimit -a
The plain 'ulimit' bash command only affects the soft-limit. There
is also a hard-limit for each limitable resource, and the soft-limit
cannot go higher than that value. The hard-limit is not necessarily
the same as the MAX value noted by Bill Wagner, though the hard-limit
is often initially the same as that MAX value.
Read 'man setrlimit'. Also see the -H option to bash's 'ulimit'
builtin.
Finally, there is a system-wide limit on open files, determined by
the "kern.maxfiles" sysctl value. The related value
"kern.maxfilesperproc" determines the initial per-process hard-limit.
See 'man 1 sysctl' and 'man 3 sysctl', and search for maxfiles.
I wonder what you're doing that needs a quarter-million fd's open all
at the same time. Please describe what problem you're trying to
solve by throwing that many fd's at it.
-- GG
_______________________________________________
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
This email sent to email@hidden