tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adib <amsl...@gmail.com>
Subject Re: Understanding the Persistent Session Manager
Date Tue, 25 Jan 2011 12:45:09 GMT
Thanks for the hints mark, I just read through the code and that
answers some of my questions.

The docs says that  org.apache.catalina.session.
StandardSession.ACTIVITY_CHECK should be true and that  Tomcat will
track the number of active requests for each session. what do the docs
mean by active request? is there such a thing as a non active request?


On Tue, Jan 25, 2011 at 4:33 AM, Mark Thomas <markt@apache.org> wrote:
> 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.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message