I wanted to post this information because Autodesk Support are frequently asked to investigate why licences are not being released automatically following a period of client inactivity. So I wanted to share my observations in the hope that you may find it useful.
(Click the image below to enlarge)
There are two background processes running on the Vault Server.
- SessionInactiveTimeoutInterval (default = runs every 30 minutes)
- SessionInactivityCheckInterval (default = runs every 5 minutes)
There are three states that the licence can be in.
- Active (Consumed by a client)
- Inactive (Consumed by a client and can be reconsumed by that same client but not yet in the pool of "available" licences)
- Available\Released (The licence is available to any client)
The licence will not become Available\Released, until the SessionInactivityCheckInterval process runs and detects that a licence is Inactive.
If the user logs out of the Vault Server or closes the client application, the licence is immediately Available\Released.
So using the above image as an example, a user logs in to a Vault Workgroup "Thick" client at 12:01 but then leaves the session inactive. At 12:31 their licence will become "Inactive", then running at 5 minute intervals at 12:35, the Vault Server checks what licences are Inactive and Releases them to be available to any other user. Between 12:31 and 12:36, the user can reclaim their licence. After 12:36 they cannot be guaranteed that they will get their licence back, requests for a licence will be subject to number of licences available. If the frequency of licence refusal is increasing, you should ask other users to log out, or if they are actually using the licences, purchase additional licences.
The same process also applies to the thick Vault Professional (VP) client. However, it will poll the VP server every 5 minutes for any ECO Notification (Hard-coded). This polling will ensure that so long as a user is logged into the VP Server from a thick VP client, the licence will never be released. The Vault Addin for AutoCAD will perform a similar poll in VW\VC\VP as it checks for updates to any XREFS.
Ordinarily, when a user logs into a licenced Vault Server from either a Vault Workgroup (VW) or Vault Collaboration (VC) "Thick " client or licenced CAD Addin, after 30 minutes of inactivity, the licence will become "Inactive". (As soon as the user makes any request to the Vault Server the "SessionInactiveTimeoutInterval" countdown is reset).
Subscribe