tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: how to programmatically expire inactive sessions?
Date Tue, 09 Oct 2012 20:34:37 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kirill,

On 10/9/12 2:36 PM, Kirill Kireyev wrote:
> I never modified/extended the Tomcat code, so I doubt it.

This has nothing to do with Tomcat's code: HttpSessionBindingListener
and HttpSessionListener are servlet-API interfaces that you might
implement in your own product. If they are written badly, then might
interfere with Tomcat's session-expiration thread.

I use Tomcat 5.5, 6.0, and 7.0 and none of them have any problem with
expiring sessions after the configured expiration interval.

> Could it be that I'm allocating too much heap memory (-Xmx20000M),
> so that Tomcat doesn't feel the urgency to clean up?

This has nothing to do with Tomcat's desire to clean anything up: the
session-cleanup thread runs at the same interval regardless of the
heap size.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB0il0ACgkQ9CaO5/Lv0PAH9QCfdMlqsZ9FmL+cyGGDkYSsbUs9
TYsAnjh+fMcmNBZshzICboVHP6x6z4EI
=aKfk
-----END PGP SIGNATURE-----

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


Mime
View raw message