tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirill Kireyev <kir...@instagrok.com>
Subject Re: how to programmatically expire inactive sessions?
Date Tue, 09 Oct 2012 18:36:21 GMT
I never modified/extended the Tomcat code, so I doubt it. Could it be 
that I'm allocating too much heap memory (-Xmx20000M), so that Tomcat 
doesn't feel the urgency to clean up?
> Is is possible that you have a broken HttpSessionBindingListener or
> HttpSessionListener that is preventing Tomcat from actually performing
> the expirations?


On 10/9/12 12:27 PM, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kirill,
>
> On 10/9/12 12:22 PM, Kirill Kireyev wrote:
>> I think I figured it out. It seems /manager/text/expire only lists
>> the expiration info, instead of expiring sessions. Also, wget
>> wasn't authenticating me properly. Instead I used curl against the
>> html interface: curl --anyauth -u xxx:yyy --data "idle=20" -d
>> path=/zzz http://localhost:8080/manager/html/expire
>>
>> Though I'm still not sure why my sessions aren't expiring
>> automatically...
> Is is possible that you have a broken HttpSessionBindingListener or
> HttpSessionListener that is preventing Tomcat from actually performing
> the expirations?
>
> - -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/
>
> iEYEARECAAYFAlB0bKEACgkQ9CaO5/Lv0PBSbwCgrat4Bz5jDdnh5FoAIRRu+AhE
> 258An2f0l4NOJ3vd8ch1e+/26zQP1MF3
> =1MMn
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


-- 
*Kirill Kireyev, PhD*
Founder/CTO instaGrok.com <http://www.instagrok.com>
kirill@instagrok.com
Twitter: @instaGrok <http://twitter.com/InstaGrok>
FB: facebook.com/instagrok <http://www.facebook.com/instagrok>
<http://www.instagrok.com>

Mime
View raw message