View Full Version : check number of http connection in tomcat
chuikingman
03-03-2010, 06:38
I use tomcat as web server.
I want to know how to check number of exisited http connect in the existing tomcat server ...
Please advice ...
kjkoster
03-03-2010, 12:09
Dear chuikingman,
That is really simple: install Java-monitor (http://java-monitor.com/install.html) and then look at the HTTP pool graph for you HTTP connector.
Kees Jan
chuikingman
03-03-2010, 13:14
I use java 1.4 only ...
I cannot upgrade the java as it is production machine .
Please advice other way to monitor/check number of http connection existed in tomcat server ....
kjkoster
03-03-2010, 14:52
Dear chuikingman,
You use Java 1.4 in production? Wow. You realize that even Java 1.5 is already EOSL (http://java-monitor.com/forum/showthread.php?t=619), never mind 1.4?
The only (messy) way I can think of is to force a thread dump (kill -3 on the pid) on the Tomcat process and then go through the logs to count the threads that have a name like <something>http<something>.
Or upgrade to Java 1.6 (and get a nice performance boost) and use Java-monitor. :)
Kees Jan
PS. Here is a list of the JDK versions compared (http://java-monitor.com/forum/showthread.php?t=8), by the way.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.