HOW TO - Modify the License Timeout Setting in Options File
Authored by Matthew Trachimowicz
February 15th, 2022
972 views
0 likes
KB1197550
Description
Depending on your workflow using Ansys software and network connection conditions, you may experience a situation where a license becomes stuck - that is, it was checked out but was unable to be returned correctly and is currently unavailable. While there are several options to manually release a stuck license (See: HOW TO - Release a Stuck License ), you can configure the timeout settings on your License Server to return these stuck licenses quicker than waiting for the default timeout period.
Solution
Start by reviewing section 4.5.1 (pg 42) of the Ansys License Management Guide. You will then need to obtain an updated license file containing the Ansys Idle Timeout license increment from your SimuTech Account Manager. Currently, the following Ansys products utilize the idle timeout option:
- Mechanical
- Fluent
- CFX
- Electronics
Idle timeout is set via the options file. If the options file does not exist, you will need to create the options file. After creating the options file, add either of the following settings to the file and then restart the License Server:
# TIMEOUTALL Example (All products will time out in seconds) TIMEOUTALL 3600
# FEATURE TIMEOUT Example (time in seconds for just ansys (Mechanical) feature to timeout) TIMEOUT ansys 3600
Once this option is added, any participating application will return its license after approximately 900 seconds (15 minutes) plus the defined idle timeout seconds of inactivity. In the case of our example, approximately 900 + 3600 = 4500 seconds (75 minutes) of inactivity.
Note: The minimum value for the idle timeout is 3600 seconds (1 hour).
After a client application license has timed out, others will be able to use that license. When the idle application becomes active again, it will attempt to check out the license increment immediately.