On 07/10/2011 00:20, Bill Wang wrote:
> Hi Tomcat Guru,
>=20
> Recently one of Tomcat application has performance issue, which get slo=
w
> 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 min=
utes
> to 30 minutes. I will do that, but before change it, I'd like to under=
stand
> 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>
>=20
> Second, currently I monitor the session count by login the admin interf=
ace,
> 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
|