I have written a small utility to fetch information from tomcat in regards to sessions. The utility will send email if we go above certain thresholds. The problem I have is the number and I can figure out why the numbers show like the show:
This is the explanation about the data taken from jconsole:
Active sessions: Number of sessions at this moment
Total sessions: Total number of sessions created by this manager
Expired sessions: Number of sessions that expired (Does not include explicit invalidations)
These are our number:
Number of active session are: 63
Number of total sessions are: 1357
Number of expired sessions are: 2756
Why are the expired sessions more than the total sessions?
We are running 2 app servers with a load balancer.
SCJP 5.0, SCWCD
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop