You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christian Stöber <ch...@googlemail.com> on 2009/11/04 10:17:24 UTC

Inactive sessions won't be removed

Hello list,

I've the problem that some (yes, really some) HttpSessions won't be 
removed. Here are some details from the manager app of two these 
sessions. Please consider the TTL an the Inactive Time value. I've just 
take a copy of the manager output!

Details for Session A2B3FF68F366B9533CFE66DBF2903DDA.www1
Session Id                        A2B3FF68F366B9533CFE66DBF2903DDA.www1
Guessed Locale
Guessed User
Creation Time                     2009-11-04 09:20:50
Last Accessed Time                2009-11-04 09:23:03
Session Max Inactive Interval     00:35:00
Used Time                         00:02:13
Inactive Time                     *00:45:43*
TTL                               *00:0-10:0-43*

Details for Session 927B892EE1B94FB4A551B96F84E0BB62.www1
Session Id                        927B892EE1B94FB4A551B96F84E0BB62.www1
Guessed Locale
Guessed User
Creation Time                     2009-11-04 09:27:21
Last Accessed Time                2009-11-04 09:27:30
Session Max Inactive Interval     00:35:00
Used Time                         00:00:08
Inactive Time                     *00:41:17*
TTL                               *00:0-6:0-17*

Why doesn't tomcat remove these sessions? How often does tomcat check 
when to remove an old session?

As said above only some sessions are affected.

Thanks in advance.

Christian



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


Re: Inactive sessions won't be removed

Posted by Pid <pi...@pidster.com>.
On 10/11/2009 19:52, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Christian,
>
> On 11/5/2009 4:47 AM, Christian Stöber wrote:
>>> What version of Tomcat are you running?
>>
>> Sorry, I've forgotten. I'm running Tomcat 6.0.20.
>
> I can't imagine why the sessions are not expiring.
>
> Is it possible that you're misreading the output of the tool you're using?

Or the tool is causing a session to be created?

p


> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkr5xIkACgkQ9CaO5/Lv0PCyLgCgowN9qxCUdz9G5SuKv6SVny5h
> zAMAnRkmguLSELTfYDfmFCvEaOI44q2J
> =fWHM
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> 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


Re: Inactive sessions won't be removed

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian,

On 11/5/2009 4:47 AM, Christian Stöber wrote:
>> What version of Tomcat are you running?
>
> Sorry, I've forgotten. I'm running Tomcat 6.0.20.

I can't imagine why the sessions are not expiring.

Is it possible that you're misreading the output of the tool you're using?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr5xIkACgkQ9CaO5/Lv0PCyLgCgowN9qxCUdz9G5SuKv6SVny5h
zAMAnRkmguLSELTfYDfmFCvEaOI44q2J
=fWHM
-----END PGP SIGNATURE-----

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


Re: Inactive sessions won't be removed

Posted by Christian Stöber <ch...@googlemail.com>.
Hi,

Christopher Schultz schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Christian,
>
> On 11/4/2009 4:17 AM, Christian Stöber wrote:
>   
>> Hello list,
>>
>> I've the problem that some (yes, really some) HttpSessions won't be
>> removed. Here are some details from the manager app of two these
>> sessions. Please consider the TTL an the Inactive Time value. I've just
>> take a copy of the manager output!
>>
>> Details for Session A2B3FF68F366B9533CFE66DBF2903DDA.www1
>> Session Id                        A2B3FF68F366B9533CFE66DBF2903DDA.www1
>> Creation Time                     2009-11-04 09:20:50
>> Last Accessed Time                2009-11-04 09:23:03
>>     
> What would help is the current time. :)
>   
current time, was the mail sent time: 2009-11-04 10:17.
>> Session Max Inactive Interval     00:35:00
>> Used Time                         00:02:13
>> Inactive Time                     *00:45:43*
>>     
>
> What version of Tomcat are you running?
>   
Sorry, I've forgotten. I'm running Tomcat 6.0.20.

Christian


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


Re: Inactive sessions won't be removed

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian,

On 11/4/2009 4:17 AM, Christian Stöber wrote:
> Hello list,
> 
> I've the problem that some (yes, really some) HttpSessions won't be
> removed. Here are some details from the manager app of two these
> sessions. Please consider the TTL an the Inactive Time value. I've just
> take a copy of the manager output!
> 
> Details for Session A2B3FF68F366B9533CFE66DBF2903DDA.www1
> Session Id                        A2B3FF68F366B9533CFE66DBF2903DDA.www1
> Creation Time                     2009-11-04 09:20:50
> Last Accessed Time                2009-11-04 09:23:03

What would help is the current time. :)

> Session Max Inactive Interval     00:35:00
> Used Time                         00:02:13
> Inactive Time                     *00:45:43*

What version of Tomcat are you running?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrxs3AACgkQ9CaO5/Lv0PAc3wCeLt5EICiCO/2XVuW1xa2hCbDK
0tgAnAuNOAhXzP44ujqN81UPbpv1ta/f
=ma1w
-----END PGP SIGNATURE-----

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