You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/01/21 21:46:20 UTC

DO NOT REPLY [Bug 16308] New: - Session.invalidate() does not release sessions

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16308>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16308

Session.invalidate() does not release sessions

           Summary: Session.invalidate() does not release sessions
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: kuchhal@yahoo.com


Hi

I have web application in which I have a logout page where I call 
session.invalidate().  This does not seem to work and session count just keeps 
rising as more users access the application and even if they logout the count 
does not go down.  The session count does go down after session timeout time is 
reached.  But still tomcat never releases memory though, it just keeps growing 
and ultimately crash with out of memory error.

I monitored this uing tomcats manager application's manager/list call

The problem here is 
1.  Tomcat does not release sessions that are invalidated.
2.  Tomcat does not release memory after the sessions that are released after 
session timeouts.
3.  Tomcat persists the sessions from previous run too.

Please help

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>