6.4.1.3 RLM_CONNECT_TIMEOUT

RLM_CONNECT_TIMEOUT sets the application timeout for a connection to an individual license server. If RLM_CONNECT_TIMEOUT is set, the connection timeout will be set to the value of this environment variable. The minimum connection timeout is 5 seconds, and the default is 10 seconds. If RLM_CONNECT_TIMEOUT is set to a negative value, the connect timeout will be the absolute value of RLM_CONNECT_TIMEOUT, and if any particular server connection times out, no further attempts will be made to that server again. If RLM_CONNECT_TIMEOUT is set to a positive value, a connection will be attempted to the server even if it timed out on the last attempt. This is the default behavior in RLM.

RLM_CONNECT_TIMEOUT is specified in seconds. Note also that the value you specify is divided by 5 (and truncated), then used 5 times, so the minimum resolution is 5 seconds. For example, if you set RLM_CONNECT_TIMEOUT to 8, the timeout will be 5 seconds. Setting it to 11 will yield a 10-second timeout, etc.