Re: per jvm thread limit

2003-02-14 Thread Hui
On Fri, Feb 14, 2003 at 04:22:31PM -0800, John Neffenger wrote: > Further note to readers: I got past this 16,000 native thread limit by > specifying the "-green" user-level thread option to the Blackdown > virtual machine. So my 20,000 threads were all mapped onto one Linux > process (one Lin

Re: per jvm thread limit

2003-02-14 Thread John Neffenger
Hi Dan, Note to readers: he's using a smaller thread stack than the previous poster (64k vs. 100k). At 1GB address space limit (or 2^30 bytes), that's an upper limit of 2^(30-16 = 14) = 16000 or so threads. Further note to readers: I got past this 16,000 native thread limit by specifying the

Re: per jvm thread limit

2003-02-14 Thread Juergen Kreileder
[EMAIL PROTECTED] writes: > On Fri, 14 Feb 2003, Juergen Kreileder wrote: >> >> BTW: If you use another setting than CONFIG_1GB or if you're on x86-64 >> you want to use the new release. Older HotSpot versions have >> problems with the other values. > > So which ones are good? Is the latest

Re: per jvm thread limit

2003-02-14 Thread John Neffenger
Hi Joseph, (See also http://www.kegel.com/c10k.html ) That points to http://www.volano.com/linux.html which doesn't exist anymore. The wayback machine has a verion from Oct 31 2001 that doesn't say how to recompile the kernel to increase the limit. It does point me to /etc/security/limits.c

Re: per jvm thread limit

2003-02-14 Thread Nathan Meyers
On Fri, Feb 14, 2003 at 03:38:49PM -0500, [EMAIL PROTECTED] wrote: > > $ grep CONFIG_.GB /boot/config-2.4.18-14 > > # CONFIG_3GB is not set > > # CONFIG_2GB is not set > > CONFIG_1GB=y > > So I just have to set that line in /boot/config-2.4.18-14 and reboot? Is > that limit per process or system

Re: per jvm thread limit

2003-02-14 Thread jks
On Thu, 13 Feb 2003, Dan Kegel wrote: > Man Chi Ly wrote: > >>>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 guess I don'

Re: per jvm thread limit

2003-02-14 Thread jks
On Fri, 14 Feb 2003, Juergen Kreileder wrote: > > BTW: If you use another setting than CONFIG_1GB you want to use the > new release. Older HotSpot versions have problems with the other > values. > So which ones are good? Is the latest sun jdk good or only the forthcoming blackdown?

Re: per jvm thread limit

2003-02-14 Thread Juergen Kreileder
Man Chi Ly <[EMAIL PROTECTED]> writes: > On Thu, 13 Feb 2003, Joseph Shraibman wrote: > >> Dan Kegel wrote: >> > Joseph Shraibman wrote: >> >> The one that comes with redhat 8.0 (updated), which is >> kernel-smp-2.4.18-19.8.0 >> >> > CONFIG_1GB >> > CONFIG_2GB >> > CONFIG_3GB >> > are set in your