Tomcat, the session administrator. What does a negative TTL session mean?

I found in the Session Administrator Tomcat 7 in the list of active HTTPSessions sessions with negative TTL. What does it mean? Why didn’t these sessions die after the time-out?

Already have over 100 with negative TTL.

Any ideas?

+3
source share
1 answer

This may mean one of three. There are several matches between the possibilities.

If the session has expired between the point at which the session list was generated and when it was displayed to you, -1 will be displayed.

If the session has passed TTL, but the background thread that ends the sessions is not already running, you will see a small negative number indicating the number of seconds that have passed since the session ended.

, (0 TTL), , TTL - .

, , . Tomcat , , .

+3

All Articles