question

Clair A avatar image
1 Like"
Clair A asked Adrian Haws edited

Network license seat

If a client PC checks out a seat from a LAN license server, then loses the connection with the server, after which delay does it lose the seat and switches back to Express?

Does the user have a warning message when he loses the seat, and has he the opportunity to save his work before the software switches to Express?

FlexSim 16.0.1
licenselicense serverserverseatlost license connection
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Ben Wilson avatar image
2 Likes"
Ben Wilson answered Ben Wilson commented

FlexSim software maintains a heartbeat with the license server in 5 minute intervals, meaning that every 5 minutes or so, FlexSim checks to make sure it can still connect to the license server.

If FlexSim can't make this connection, it will display this warning message:

Lost license connection

FlexSim has been disconnected from the concurrent license server and will close
in a few minutes. You may want to save your work now.

After FlexSim has notified you of the license server disconnection, you have about 1 minute to finish what you are doing and save. We recommend you save immediately. FlexSim will abruptly close without further warning after that grace period.


· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Clair A avatar image Clair A commented ·

When a user returns a standalone license, FlexSim switches in Express mode. When a user loses his network seat, FlexSim closes abruptly after 1 minute. Would it be possible to switch in Express mode instead of closing abruptly, like when a standalone license is returned ?

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Clair A commented ·

The Flexnet licensing service kills the process. This is a function of the Flexnet system; not something we do manually.

Flexnet sends a message to FlexSim saying that the connection was lost. In that message, we show the error dialog described by Ben above. After that, FlexSim doesn't receive any other callback before Flexnet force-closes the process.

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Phil BoBo ♦♦ commented ·

Looking closer at the Flexnet documentation, we could subscribe to a callback to change the behavior when the connection is lost, but the current system is well tested and working fine.

If we change it, then there exists a potential circumstance where a single instance of FlexSim could appear to be taking multiple seats on the license server, which is hard to explain to a user when that happens. Also, it could lead to license over-usage where more instances of FlexSim are open and licensed at once than the total number of seats on the server. Both of those situations are likely if we try to handle the lost heartbeat manually without letting Flexnet automatically close the application and heartbeat mechanism.

0 Likes 0 ·