On Wed, Feb 12, 2003 at 08:52:23PM -0500, Joseph Shraibman wrote: > I'm running: > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) > Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) > > ... on redhat 8.0. I've discovered that I get get somewhere between 3600 > and 3700 threads in a jvm without any arguments. If I pass in -Xss100k I > can get that up to 8190 threads, but I'm not sure why. How can I maximize > the number of threads per jvm?
Have you checked your thread limit in /proc/sys/kernel/threads-max? You can see the current limit by reading the contents of that file, and set a new one by writing a new value to that file, e.g.: echo 8192 >/proc/sys/kernel/threads-max Nathan Meyers [EMAIL PROTECTED] ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]