Re: per jvm thread limit

2003-02-13 Thread jks
On Thu, 13 Feb 2003, Man Chi Ly wrote: > > Dan's probably one of the authorities on this performance issue; but isn't > it generally considered bad form to be spawning so many threads in an > application? Nature of the application. I need to send out a lot of email in parallel. >

Re: [ANNOUNCE] Blackdown J2SE 1.4.1-01 for i386 and SPARC

2003-02-13 Thread msimons
On Fri, Feb 14, 2003 at 01:04:51AM +0100, Juergen Kreileder wrote: > The Blackdown Java-Linux Team is happy to announce the availability > the Java 2 Standard Edition v1.4.1-01 for Linux on ix86 and SPARC. Very nice... is anyone working to update the 1.3.1_02b release to the current 1.3.1_07 ve

Re: per jvm thread limit

2003-02-13 Thread Man Chi Ly
On Thu, 13 Feb 2003, Joseph Shraibman wrote: > Dan Kegel wrote: > > Joseph Shraibman wrote: > > > >> I never got anywhere near 1gb of memory usage. > > > > > > Physical memory, maybe, but I bet you a nickel you got > > up near 1GB of *virtual* memory. Go learn about how > > thread stacks work. Y

Re: per jvm thread limit

2003-02-13 Thread Joseph Shraibman
Dan Kegel wrote: Joseph Shraibman wrote: I never got anywhere near 1gb of memory usage. Physical memory, maybe, but I bet you a nickel you got up near 1GB of *virtual* memory. Go learn about how thread stacks work. You're not running out of RAM; you're running out of address space. I gues

[ANNOUNCE] Blackdown J2SE 1.4.1-01 for i386 and SPARC

2003-02-13 Thread Juergen Kreileder
The Blackdown Java-Linux Team is happy to announce the availability the Java 2 Standard Edition v1.4.1-01 for Linux on ix86 and SPARC. Please choose one of our FTP mirrors for downloading: http://www.blackdown.org/java-linux/mirrors.html Currently the SDK and the Runtime Environment are availabl

Re: per jvm thread limit

2003-02-13 Thread Joseph Shraibman
Dan Kegel wrote: The -Xss100k helps because each thread stack immediately occupies its full range of address space (discontiguous stacks not being supported). If the OS defaults to a limit of 1GB address space for user processes, at 100KB per stack, that's a hard limit of 10,000 threads. I nev

Re: per jvm thread limit

2003-02-13 Thread John Neffenger
Hi Joseph, Here's a good explanation about the space Java reserves for each thread stack. It's written about Windows, but applies to Solaris, Linux and FreeBSD as well: Connection scaling in Java http://www.javaworld.com/javaworld/jw-03-1999/jw-03-volanomark_p.html#sidebar It's just a matter

Re: per jvm thread limit

2003-02-13 Thread jks
On Thu, 13 Feb 2003, John Rousseau wrote: > The number of threads is limited by kernel config (as Nathan pointed > out) I'm not running into that limit. That is something over 14k. and by available memory. By decreasing the stack size used by each > thread (via -Xss), you made each thread use

Re: per jvm thread limit

2003-02-13 Thread Nathan Meyers
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 so