tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56698] New: Sessions will be backed up too often by PersistentManager
Date Sat, 05 Jul 2014 15:16:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56698

            Bug ID: 56698
           Summary: Sessions will be backed up too often by
                    PersistentManager
           Product: Tomcat 8
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: felix.schumacher@internetallee.de

Created attachment 31793
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31793&action=edit
Add a flag to PersistentManager whether it will save idle sessions once or
always

The PersistentManager will save every Session which has not been accessed since
maxIdleBackup time on every round.

The attached patch will introduce a flag, so that the admin can decide whether
he wants to have the old behaviour, or the more efficient one of only saving
sessions once, when they were accessed and idle for maxIdleBackup.

The patch gets a lot simpler, if we just change the behaviour and declare the
old one as a bug :)

Tomcat 7 has the same problem and I could provide a patch for it, too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message