Re: Understanding the Persistent Session Manager

2011-01-25 Thread Adib
Is there any downside to turning on the ACTIVITY_CHECK flag? On Tue, Jan 25, 2011 at 4:47 AM, Mark Thomas wrote: > On 25/01/2011 12:45, Adib wrote: >> 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.se

Re: Understanding the Persistent Session Manager

2011-01-25 Thread Mark Thomas
On 25/01/2011 12:45, Adib wrote: > 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 e

Re: Understanding the Persistent Session Manager

2011-01-25 Thread Martin Grotzke
On Tue, Jan 25, 2011 at 1:35 PM, Adib wrote: > Thanks for the link that was useful. So the key idea to understand is > that there is a background thread that does all the cleanup and this > background thread executes on a timer not on very request arriving a > the server. > > I am surprised at th

Re: Understanding the Persistent Session Manager

2011-01-25 Thread Adib
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

Re: Understanding the Persistent Session Manager

2011-01-25 Thread Adib
Thanks for the link that was useful. So the key idea to understand is that there is a background thread that does all the cleanup and this background thread executes on a timer not on very request arriving a the server. I am surprised at the limitations of the Persistent Manager it's that it shoul

Re: Understanding the Persistent Session Manager

2011-01-25 Thread Mark Thomas
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 wou

Re: Understanding the Persistent Session Manager

2011-01-25 Thread Reinwald Warapen
On 1/25/2011 5:02 PM, Adib wrote: Hi, I am trying to understand the settings on the persistent session manager on tomcat 6 and 7. It seems that the persistent session manager is primarily meant for the purpose of swapping IDLE sessions to persistent storage and then hope that they expire, I can

Re: Understanding the Persistent Session Manager

2011-01-25 Thread Adib
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

Understanding the Persistent Session Manager

2011-01-25 Thread Adib
Hi, I am trying to understand the settings on the persistent session manager on tomcat 6 and 7. It seems that the persistent session manager is primarily meant for the purpose of swapping IDLE sessions to persistent storage and then hope that they expire, I can see the value of this given that man