eG Monitoring
 

Measures reported by WVDSessionTest

This test reports performance statistics related to user sessions to the chosen Session Host / Azure Virtual Desktop.

Outputs of the test : One set of results for the chosen Session Host / Azure Virtual Desktop.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Active_sessions Indicates the number of active user sessions currently on the AVD. Number This measure gives an idea of the server workload in terms of active sessions. Tracking the number of active sessions with time, an administrator can obtain information that can help him/her plan the capacity of their AVD environment. The detailed diagnosis capability, if enabled, lists the active and inactive sessions on the AVD.
Idle_sessions Indicates the number of sessions that are initialized and are currently ready to accept connections. Number For performance reasons, the number of idle sessions should be less than ten.
Connected_sessions Indicates the current number of sessions that are connected, but no user has logged on to the AVD. Number A consistent increase in the value of this measure could indicate that users are having trouble logging in. Further investigation may hence be required.
Connecting_sessions Indicates the number of sessions that are in the process of connecting. Number A very high value for this measure indicates a problem with the session or connection.
Disconnected_sessions Indicates the number of sessions from which users have disconnected, but which are still active and can be reconnected. Number Too many disconnected sessions running indefinitely on an AVD cause excessive consumption of the system resources. To avoid this, you can configure a MaxDisconnectionTime in the Windows registry. This will make sure that sessions that remain disconnected beyond the configured period of time automatically end. Additionally, you can set session time limits using the following group policies:

  • Computer

    Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits

  • User

    Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits
Listen_sessions Indicates the current number of sessions that are ready to accept connections. Number  
Shadow_sessions Indicates the current number of sessions that are remotely controlling other sessions. Number A non-zero value for this measure indicates the existence of shadow sessions that are allowed to view and control the user activity on another session. Such sessions help in troubleshooting/resolving problems with other sessions under their control.
Down_sessions Indicates the current number of sessions that could not be initialized or terminated. Number Ideally, the value of this measure should be 0.

By default, if sessions to any of these ports  - 65536, 65537, 65538 - could not be initialized or terminated, they will not be counted as a ‘down session’.
Init_sessions Indicates the current number of sessions that are initializing. Number A high value for this measure could indicate that many sessions are currently experiencing initialization problems.