tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Herrmann <>
Subject Re: [PROPOSAL] When Session Max reached, throw out oldest session
Date Thu, 13 Jun 2002 11:51:47 GMT
On Thu, 2002-06-13 at 03:43, Kief Morris wrote:
> typed the following on 05:22 PM 6/12/2002 -0400
> >PROPOSAL:  When Session Max reached, throw out oldest session
> ...
> >1. When the maximum number of sessions is reached, change
> >StandardManager from throwing an IllegalStateException exception, to
> >expiring the Least Recently Used (LRUMap) session.
> I'm not 100% comfortable with this, if a server sets the max sessions
> too low and gets a lot of activity, the behavior will be confusing - users
> will unexpectedly lose logins or whatever their session data is, and it
> might be taken for a bug by the administrator. I guess I'll be happy as 
> long as we log a warning when sessions are thrown out due to max 
> sessions being exceeded.

Good idea, I will be sure to log the expiration event, and I will also
ensure that the admin documentation is updated to explain this behavior.


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

View raw message