Reclaiming Licenses

<< Click to Display Table of Contents >>

Floating License Server > 8.0 > Implementation Guide > Technical Description 

Reclaiming Licenses

The license are automatically collected and go to the pool without any user interaction. The license is returned if any of the following happens:

 

All instances of product running on the same machine and the same user account are closed

The client did not reply to a server for a longer time

 

The first scenario means that closing of the product (provided there are no other open instances on the same machine run by the same user) automatically signals to the server that the license is not anymore in use and can be

returned to the pool so that someone else can pick it up.

 

The second scenario is more complex and has been designed to prevent lock-up of licenses should client be either disconnected or in case product processes are killed or forcefully terminated. Every time when a license request is accepted by the floating license server, the server initiates a data contract with a certain validity period (by default 1 minute). The server requires that the client responds to the server in order to extend its license life time for another two minutes. If there is no contact in the given time, then after waiting for 50% of original interval time (by default 30 seconds) the license is recollected. So, if the client cannot reply in 90 seconds because of any of following reasons:

 

The network connection is down

The client has been disconnected from company network

The connection is blocked by firewall

The process has been terminated instead of normal closing

 

Then the license will be reclaimed and returned back to the pool.

 

If the client loses its license and then reconnects to the server, another license is taken from the pool – this behavior is fully transparent and the only way to see it is that there is no more pop-ups shown. However, if there are no free licenses anymore (for example some other user took it in-between), the client would display a message informing about the problem. User is able to dismiss the dialog, for example to save or back-up his work, but the popup will continue to be shown each 15 seconds, and require a few seconds delay before dismissing it. This way a client that was once activated but lost his license can still be used to save the current progress before closing the application.