Tomcat Thread utilization growing very large causing a hung tomcat instance

2010-08-03 Thread Tomcat Novice
Hi, I hope someone can help me. I am new to tomcat and I have been encountering issues where a particular tomcat instance/s are having large thread count during load testing and results in a hung state. The error shown on the browser is: java.lang.OutOfMemoryError: unable to create new native

Re: Tomcat Thread utilization growing very large causing a hung tomcat instance

2010-08-03 Thread Peter Crowther
What happens if you *reduce* the allocated heap size - do you actually need that much Java heap? Native threads are created outside of the Java heap. You have 2G for (4 * 400) = 1600 threads plus the OS, or about 1 Mbyte per thread (this assumes no swap space). That may not be enough. - Peter

RE: Tomcat Thread utilization growing very large causing a hung tomcat instance

2010-08-03 Thread Caldarale, Charles R
From: Tomcat Novice [mailto:tomcat.nov...@gmail.com] Subject: Tomcat Thread utilization growing very large causing a hung tomcat instance I have been encountering issues where a particular tomcat instance/s are having large thread count during load testing and results in a hung state. I

Re: Tomcat Thread utilization growing very large causing a hung tomcat instance

2010-08-03 Thread Tomcat Novice
Hi Peter, Thanks for your resonse. I believe the issue is why is the Tomcat instance utilizing around 400+ threads. It should be just utilizing only 200 threads because of the default value for maxThreads? On the other servers, Thread utilization is at 200-250 on normal operations which is still