Handle lost clients
If Linaro Forge Licence Server loses communication with an instance of a client, the license
allocated to that client is made unavailable for new clients until a
timeout period has expired. The length of this timeout period can be
calculated from the license server file values for beat
and retry_limit
:
lost_client_timeout_period = (beat seconds) * (retry_limit + 1)
For the example license files above, the timeout period would be:
60 * (4 + 1) = 300 seconds
During this timeout period, details of the ‘lost’ client continue to be output by the status display. As long as additional licenses are available, new clients can be started. However, once all of these additional licenses have been allocated, new clients are refused a license while this timeout period is active.
After this timeout period has expired, the status continues to display details of the ‘lost’ client until another client is started. Linaro Forge Licence Server grants a license to the new client and the status display then reflects the details of the new client.