Re: Why so many sessions?

2004-06-03 Thread Leonard Sitongia
On May 28, 2004, at 7:15 AM, Leonard Sitongia wrote:
On May 27, 2004, at 12:43 PM, Leonard Sitongia wrote:
On May 27, 2004, at 10:05 AM, Leonard Sitongia wrote:
But, the number of Sessions is 140.
The number appears to have fluctuations up and down, but the overall 
trend is to increase.  There are now 170 sessions.  Some sessions 
apparently expire but others do not, hence the overall increase.
Hello again,
The number of sessions is now over 250.
One week later, and the session count is 476.  Is the session count in 
the Tomcat Manager incorrect?
The memory utilization hasn't significantly increased.  Can I ignore 
the session count?

Thank you for any help you can offer me.
==Leonard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Why so many sessions?

2004-05-28 Thread Leonard Sitongia
On May 27, 2004, at 12:43 PM, Leonard Sitongia wrote:
On May 27, 2004, at 10:05 AM, Leonard Sitongia wrote:
But, the number of Sessions is 140.
The number appears to have fluctuations up and down, but the overall 
trend is to increase.  There are now 170 sessions.  Some sessions 
apparently expire but others do not, hence the overall increase.
Hello again,
The number of sessions is now over 250.  There are still only about 8 
hits in a five minute period.  There's no session information held 
here, as there's no login or other user-specific information handled.  
The pages simply display content from the OpenSymphony cache or invoke 
my JSP tag that goes through Hibernate to get data from MySQL.  So, 
sessions older than 5 minutes should be automatically removed, I would 
expect.

Can anyone offer me advice here?  Can the number of sessions shown in 
the Tomcat Manager simply be ignored?

Thanks for your help!
==Leonard E. Sitongia
  VETS / Scientific Computing Division
  National Center for Atmospheric Research
  P.O. Box 3000 Boulder CO 80307  USA
  [EMAIL PROTECTED]voice: (303)497-2454   fax: (303)497-1829
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Why so many sessions?

2004-05-27 Thread Leonard Sitongia
On May 27, 2004, at 10:05 AM, Leonard Sitongia wrote:
But, the number of Sessions is 140.
The number appears to have fluctuations up and down, but the overall 
trend is to increase.  There are now 170 sessions.  Some sessions 
apparently expire but others do not, hence the overall increase.

Is this going to eventually hit a wall?
Thanks for your help,
==Leonard
==Leonard E. Sitongia
  VETS / Scientific Computing Division
  National Center for Atmospheric Research
  P.O. Box 3000 Boulder CO 80307  USA
  [EMAIL PROTECTED]voice: (303)497-2454   fax: (303)497-1829
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Why so many sessions?

2004-05-27 Thread Leonard Sitongia
Hello,
I find that the number of Sessions displayed by the Manager is 
surprisingly high.  My application has the session timeout set to 5.   
The access_log shows 8 hits in the last five minutes.  But, the number 
of Sessions is 140.

I'm running Tomcat 5.0.19 on Solaris 5.9.  I use two servers in a 
Tomcat 5 session-replicated cluster.

My application is a few JSP pages that use custom tags I wrote that use 
Hibernate persistence to MySQL.
The pages use OpenSymphony cache tags to keep the number of hits to the 
database low.

The high session count doesn't seem to be a problem.  Still, I'd like 
to learn why the number is so high.

Thanks for your help!
==Leonard E. Sitongia
  VETS / Scientific Computing Division
  National Center for Atmospheric Research
  P.O. Box 3000 Boulder CO 80307  USA
  [EMAIL PROTECTED]voice: (303)497-2454   fax: (303)497-1829
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]