You are here: About the Environment Variables > Environment Variables for Administering License Queuing

Environment Variables for Administering License Queuing

Several environment variables allow the network administrator to set license queuing preferences. These environment variables override settings within the application itself originally set by your vendor.

LS_MAX_QWAIT_SEC - Set Maximum Queue Wait Time

This environment variable allows the network administrator to set the maximum queue wait time for the license server computer on which the variable is set.

For example, to tell the license server running on a Windows computer to set the maximum queue wait time to 15 minutes (900 seconds), use the following command:

SET LS_MAX_QWAIT_SEC=900

LS_MAX_QHOLD_SEC - Set Maximum Hold Time

This environment variable allows the network administrator to set the maximum time that the license server will hold a license for a requester once the license becomes available.

For example, To tell the license server running on a Windows computer to hold a license for 120 seconds for a user, use the following command:

SET LS_MAX_QHOLD_SEC=120

LS_MAX_QLEN - Set Maximum Queue Length

This environment variable allows the network administrator to set the maximum queue length for the license server computer on which the variable is set. It can also override queuing preferences set in the application. Here are its possible values:

For example, to tell the license server running on a Windows computer to stop placing users in the queue when the queue has 15 users, use the following command:

SET LS_MAX_QLEN=15

LS_MAX_GROUP_QLEN - Set Maximum Group Queue Length

This environment variable allows the network administrator to set the maximum queue length for the reservation group on the license server computer on which the variable is set. It can also override queuing preferences set in the application. Here are its possible values:

For example, to tell the license server running on a Windows computer to stop placing users in the group queue when the queue has 15 users, use the following command:

SET LS_MAX_GROUP_QLEN=15