tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Understanding the Persistent Session Manager
Date Tue, 25 Jan 2011 12:33:54 GMT
On 25/01/2011 11:49, Adib wrote:
> I just read through some of the tomcat source code for the Persistent
> Session Manager and it seems that there are three possibilities.
> Session on the JVM heap lets call it the active session
> Session not in the JVM heap but in the persistent store this would be
> a swapped out session
> Session in the JVM heap and in the persistent store this would be a
> backed up session
> Now if anyone can shed some light on how often / when the persistent
> session manager decides to backup the sessions

If you start at swapOut() and trace the calls to the method you find the
answer to that question.

> or what is considered
> an accessed session that would be highly appreciated.

Looking processMaxActiveSwaps() (and maybe a little call tracing) will
answer that question.


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

View raw message