eG Monitoring
 

Measures reported by GfSessionTest

To understand how much load is imposed by user sessions on each of the web applications deployed on the GlassFish server, and to determine the nature (e.g., persisted sessions, rejected sessions, etc.) and the current state of these sessions (whether activated, passivated, created, etc.), use the GfSessionTest test. This way, the most popular web applications on the server can be isolated, and those applications that reject sessions too often can be identified.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Current_ctive_sessions Indicates the number of sessions that are currently active on this application. Number This is a good indicator of the current workload of the application.

You can compare the value of this measure across applications to know which applications is the most popular in terms of the number of user sessions open on it.

Total_activated_sessions Indicates the number of sessions to this application that were activated during the last measurement period. Number  
Total_passivated_sessions Indicates the number of sessions to this application that were passivated during the last measurement period. Number  
Total_expired_sessions Indicates the number of sessions to this application that expired during the last measurement period. Number This measure indicates the number of sessions that remained inactive on the application for a duration in excess of the session-timeout value configured at the web application level.

If the value of this measure is unreasonably high, you may want to increase the session-timeout value, so as to minimize the frequency of session expiry. If the session-timeout value is set to 0 or less, then sessions to that web application will never expire.

Total_persisted_sessions Indicates the number of sessions to this application that persisted during the last measurement period. Number GlassFish Server provides high availability session persistence through failover of HTTP session data and stateful session bean (SFSB) session data. Failover means that in the event of a server instance or hardware failure, another server instance in a cluster takes over a distributed session.
Total_rejected_sessions Indicates the number of sessions to this application that were rejected during the last measurement period. Number A low value is desired for this measure.
Total_sessions Indicates the number of sessions to this application that were created during the last measurement period. Number A session manager automatically creates new session objects whenever a new session starts.