-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charles,
On 10/23/12 10:45 AM, Charles Richard wrote: > I'm testing performance of our Java application in Tomcat (6.0.30) > and we have maxThreads set to 750. I noticed that when i did a > netstat -an | grep my_ajp_port, i saw around 860 connections. In what TCP state were they? If you are doing load-testing, you might see a lot in TIME_WAIT or TIME_WAIT2 as they (slowly) shutdown. What is your connector configuration? Be specific. > Wanting to know what was happening, I did a jstack of my tomcat pid > and inspected the track with Samurai. > > I was expecting to see > 750 Worker Threads in my stack since some > extra worker threads are needed by Tomcat. What i saw was around > 60 worker threads in the trace. Sounds great: Tomcat can handle your 750 connections with only 60 threads. Sounds good, no? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCG5vAACgkQ9CaO5/Lv0PCafgCfbB754nPjG5UxgHveQS31UwEP +hcAnRZjEB16Rf9fNdYgOxnpkHMc51xW =ElVx -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org