Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Large number of active sessions

Pid

2007-02-06

Replies:

1) Lower your session timeout.
2) How are you measuring/calculating statistics?
3) Which version of Tomcat?
4) Are you url encoding all of your links?


Christer Nordvik wrote:
> Hi!
>
> I've got a website with pretty low traffic (200 visitors a day). Lately
> it's
> been very slow and when I look in Tomcat's manager it says that it has a
> lot
> of sessions.
> Once I had 13000(!) active sessions. The session timeout is set to 30
> minutes.
>
> How can this happen? Isn't this something that Tomcat should handle itself?
> Can it be related to my code somehow? I have only basic JSP/Servlet
> stuff so
> nothing fancy going on.
>
> Any help would be very appreciated!
>
> -Christer
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.