Re: More threads

2005-12-06 Thread Greg Lewis
On Tue, Dec 06, 2005 at 06:33:31PM +0800, David Xu wrote: > Michael Vince wrote: [...] > >But I just can't seem to get past that mark, I have a lot of memory > >currently the Tomcat is allocated 2gigs of memory. [...] > Number of threads you can create if you use libthr is limited by > following f

Re: More threads

2005-12-06 Thread Chad Brubaker
You can try setting your heap size. JAVA_OPTS="-Xms512M - Xmx1024M" - actually, in your case you could set the min and max to be much higher, but this is the command i use on my machine. I'm pretty sure this is definitely your problem. I upgraded to a machine with more memory thinkin

Re: More threads

2005-12-06 Thread Achilleus Mantzios
Maybe take a look at http://mail-archives.apache.org/mod_mbox/jakarta-tomcat-user/200312.mbox/<3FD2066D.2040008%40joedog.org> -- -Achilleus ___ freebsd-performance@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-performance

Re: More threads

2005-12-06 Thread David Xu
Michael Vince wrote: Hi All, I been benchmarking a Java servlet I have created and I want to be able to handle a massive amount of simultaneous connections. So far using benchmarking tools I have been able to get around 2,565 threads on the Tomcat 5.5 Java process (with native 1.4.2 Java) acc

More threads

2005-12-06 Thread Michael Vince
Hi All, I been benchmarking a Java servlet I have created and I want to be able to handle a massive amount of simultaneous connections. So far using benchmarking tools I have been able to get around 2,565 threads on the Tomcat 5.5 Java process (with native 1.4.2 Java) according to ps -auxwH |