Hello, I'm new to the list but befeore writing this I have searched the users mailing list without finding anything useful.

I have an instance of Apache Tomcat/8.5.57 running on a CentOS machine with java 1.7.0_261

Several webapps run on this instance.

I have noticed that after a few days tomcat stops killing expired sessions.

Trying to understand where the issue is located , I have enabled debug logging of  org.apache.catalina.session package with:

java.util.logging.ConsoleHandler.level = FINEST

org.apache.catalina.session.level = FINEST

So after the latest restart i could observe in catalina.out many log rows like

21-Jul-2021 10:02:00.702 FINE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.session.ManagerBase.processExpires Start expire sessions StandardManager at 1626861720702 sessioncount 1 21-Jul-2021 10:02:00.702 FINE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.session.ManagerBase.processExpires End expire sessions StandardManager processingTime 0 expired sessions: 0

Today, after 4 days without issues tomcat stopped again killing expired sessions and at the same time no more logs of


are reported.

There is no other related log event , simply the last row reported is

21-Jul-2021 12:38:39.370 FINE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.session.ManagerBase.processExpires Start expire sessions StandardManager at 1626871119370 sessioncount 7

Any clue on why org.apache.catalina.session.ManagerBase is not called anymore?

Suggestion on how to diagnose?

Any chance that some exception occurring in








can terminate ManagerBase but without generating any logging?

Those are the only interaction with session handling I'm aware of.

I have the same webapps running on other tomcat instances, but on older tomcat version and there I have no issue of ths kind.

TIA for any hint.

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

Reply via email to