How can I set the maximum number of simultaneous sessions?
1) At the application level:
This can be done by changing the value of the “User Concurrent Sessions” field from the application’s properties using the Muse Admin Console.
The file from within the application which contains this setting is
Note that this field sets the maximum number of simultaneous sessions for one user (application). New connections for the same user are rejected if the number of simultaneous sessions reaches maximum.
2) At the system level:
$ICE_HOME/ICECore.xml file there are 2 fields that control the maximum sessions:
<MAX_CONCURRENT_SESSIONS>Maximum number of simultaneous sessions. New clients are rejected if the number of simultaneous sessions reaches maximum.
<MAX_USER_CONCURRENT_SESSIONS>Maximum number of simultaneous sessions for one user (application). New connections for the same user are rejected if the number of simultaneous sessions reaches maximum.
By default the configured values are:
This means that no more than 25 simultaneous sessions are allowed for an user/application and no more than 100 simultaneous sessions for all users/applications. The value of the
MAX_USER_CONCURRENT_SESSIONS field must be always smaller or equal with the
MAX_CONCURRENT_SESSIONS value. Also, when changing the value of
MAX_CONCURRENT_SESSIONS one must be aware that the new value must accommodate enough sessions to cover the largest number of
MAX_USER_CONCURRENT_SESSIONS set in the applications. It is not necessary nor recommended for this to be the sum of all
MAX_USER_CONCURRENT_SESSIONS from applications.
MAX_USER_CONCURRENT_SESSIONS value set in the
$ICE_HOME/ICECore.xml file is the default one and it is being overwritten by the value from the application level. In other words the value from the application level has the highest priority.