Servlet session counters

Data counters for this category contain usage information for HTTP sessions.

Name Key Description Granularity Type Level
Created sessions servletSessionsModule.createdSessions Number of sessions that were created Per web application CountStatistic Low
Invalidated sessions servletSessionsModule.invalidatedSessions Number of sessions that were invalidated Per web application CountStatistic Low
Session life time (ms) servletSessionsModule.sessionLifeTime The average session life time in milliseconds (time invalidated - time created) Per web application TimeStatistic Medium
Active sessions servletSessionsModule.activeSessions The number of concurrently active sessions. A session is active if the WAS is currently processing a request which uses that session. Per web application RangeStatistic High
Live sessions servletSessionsModule.liveSessions The number of sessions that are currently cached in memory Per web application RangeStatistic High
No room for new sessions servletSessionsModule.noRoomForNewSession Applies only to session in memory with AllowOverflow=false. The number of times that a request for a new session cannot be handled because it would exceed the maximum session count. Per web application (.war) CountStatistic Low
Cache discards servletSessionsModule.cacheDiscards Number of session objects that have been forced out of the cache. (An LRU algorithm removes old entries to make room for new sessions and cache misses). Applicable only for persistent sessions. Per web application (.war) CountStatistic Low
External read time servletSessionsModule.externalReadTime Time (milliseconds) taken in reading the session data from the persistent store. For multirow sessions, the metrics are for the attribute; for single row sessions, the metrics are for the entire session. Applicable only for persistent sessions. When using a JMS persistent store, you choose to serialize the replicated data. If you choose not to serialize the data, the counter is not available. Per web application (.war) TimeStatistic Medium
External read size servletSessionsModule.externalReadSize Size of the session data read from persistent store. Applicable only for (serialized) persistent sessions; similar to external Read Time. Per web application (.war) TimeStatistic Medium
External write time servletSessionsModule.externalWriteTime Time (milliseconds) taken to write the session data from the persistent store. Applicable only for (serialized) persistent sessions. Similar to external Read Time. Per web application (.war) TimeStatistic Medium
External write size servletSessionsModule.externalWriteSize Size of the session data written to persistent store. Applicable only for (serialized) persistent sessions. Similar to external Read Time. Per web application (.war) TimeStatistic Medium
Affinity breaks servletSessionsModule.affinityBreaks The number of requests received for sessions that were last accessed from another web application (.war). This value can indicate failover processing or a corrupt plugin configuration. Per web application (.war) CountStatistic Low
Session object size servletSessionsModule.serializableSessObjSize The size in bytes of (the serializable attributes of ) in-memory sessions. Only session objects that contain at least one serializable attribute object is counted. A session may contain some attributes that are serializable and some that are not. The size in bytes is at a session level. Per web application (.war) TimeStatistic Max
Time since last activated servletSessionsModule.timeSinceLastActivated The time difference in milliseconds between previous and current access time stamps. Does not include session time out. Per web application (.war) TimeStatistic Medium
Invalidated via timeout servletSessionsModule.invalidatedViaTimeout The number of sessions that are invalidated via timeout. Per web application (.war) CountStatistic Low
Activate non-exist sessions servletSessionsModule.activateNonExistSessions Number of requests for a session that no longer exists, presumably because the session timed out. Use this counter to help determine if the timeout is too short. Per web application (.war) CountStatistic Low

 

See Also

Performance data organization