tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Watson" <>
Subject Re: Session Pooling?
Date Thu, 05 Aug 2004 15:14:51 GMT

Thanks for the quick response!

----- Original Message ----- 
From: "Shapira, Yoav" <>
To: "Tomcat Users List" <>
Sent: Thursday, August 05, 2004 4:01 PM
Subject: RE: Session Pooling?


>I'm trying to understand how a single instance of Tomcat manages
>Is there any pooling/recycling of sesssion objects or are they
>created/destroyed as required?
>If they are pooled, is the size of this pool configurable?

They are not pooled.  They are created and destroyed (and passivated,
activated) as needed.  You can configure how and where they're stored by
adjusting the properties of the Manager element:

You can also write a custom one of your own, which could pool sessions
as you need.

>Also where can I find some good documentation on managing sessions
across a
>cluster or load balanced instances?

In the Clustering How-To document:

>Does anyone know of a practical limit for the number of concurrent
>connections Tomcat can cope with on a reasonably out of the box Redhat
>installation (obviously file descriptor limits aside)?

It's limited by your hardware and things like the file descriptor
limits.  We routinely have hundreds of sessions, and I know of sites
that are an order of magnitude higher.


This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.709 / Virus Database: 465 - Release Date: 22/06/2004

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message