• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

MXBean question in regards to tomcat

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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?

Any ideas?

We are running 2 app servers with a load balancer.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic