> -----Original Message-----
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Thursday, December 11, 2014 3:10 PM
> To: Tomcat Users List
> Subject: Re: tomcat on windows 2012 weirdness
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Jeffrey,
> 
> On 12/11/14 4:00 PM, Jeffrey Janner wrote:
> > I noticed the ridiculous number of session issue on one of my
> > servers, but it wasn't Windows 2012, but 2008 R2.  Don't think the
> > windows version has anything to do with it, but something about the
> > Tomcat version. Looking at the manager, I had a couple hundred
> > really old sessions, several hours expired, that were still showing
> > up in the list.  When I click on the "expire" button, they all went
> > away. Noticed this when I was starting the upgrade to the latest
> > Tomcat 7 release, and haven't checked back to see if it is still an
> > issue since the upgrade.  If I get a little time later today, I'll
> > recheck.
> 
> I think this can happen if Tomcat's background processing thread dies.
> That can happen for a few reasons, including a transient OOME where
> the GC can catch-up once the offending thread (e.g.
> BackgroundProcessor) dies and releases its local references.
> 
> Once that happens, sessions will never automatically die.
> 
> I can't remember if clicking "expire sessions (now)" just wakes up the
> background thread (which would do nothing, of course), or if it
> synchronously does a cleanup (which would fix the issue, but only
> temporarily).
> 
> - -chris
Thanks. I'll keep an eye out for it.
We had upgraded our app at the same time as moving to Tomcat 7.0.55 (or 56) and 
I noticed it when upgrading to 57 to get the latest security fixes.
Jeff

Reply via email to