On 07/10/2011 00:20, Bill Wang wrote:
> Hi Tomcat Guru,
> 
> Recently one of Tomcat application has performance issue, which get slow
> respond with high sessions.

You should find out exactly why that is, rather than guessing.


> One team member recommend me to adjust the  session timeout from 60 minutes
> to 30 minutes.  I will do that, but before change it, I'd like to understand
> how the performance related with the expire session timeout.

Performance will only be impacted as a side-effect of memory being
consumed by the session for a shorter period of time.


>          <session-timeout>60</session-timeout>
> 
> Second, currently I monitor the session count by login the admin interface,
> the manual way is not efficiency, can I run some commands to get the
> sessions number? With that I can set a cronjob and generate the session
> report easily.

The session count per application can be read via a JMX connection and a
request to the appropriate MBean.


p

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to