Floating license wont release

Moderator: GiD Team

Post Reply
Bjorn
Posts: 2
Joined: Wed Oct 10, 2018 10:21 am

Floating license wont release

Post by Bjorn »

Hi

We have a floating license that wont release after GiD is closed and the license server then needs to be rebooted to use GiD again. How is GiD turned off to release the license?

With regards!
User avatar
escolano
Posts: 1915
Joined: Sun Sep 05, 1982 10:51 pm

Re: Floating license wont release

Post by escolano »

The licence must be automatically released when GiD exit or crash.
Unfortunately if this has failed the only option to refresh the server is to restart the passerverd service.

As a trick to minimize the problem you can set some schedule to automatically restart passerverd once a week, or every night (depending on how often this problem is happening in your system)
Bjorn
Posts: 2
Joined: Wed Oct 10, 2018 10:21 am

Re: Floating license wont release

Post by Bjorn »

Ok, so it should release the licence.

We´ll setup a automatic reboot and hope some manual reboots are no longer needed. Thanks for replying.
PeterB
Posts: 2
Joined: Thu May 23, 2019 7:29 am

Re: Floating license wont release

Post by PeterB »

We have the same issue - that the Licenses are not released.

We cann't do an automatic Restart because it happens too often - and so we would have to do this several times a day when GID is in heavy use. And all active Renderings/calculations would be affected.

As we are a University some Students even work on Weekends for their promotions and then there is no chance to handle this because our Administrators are not in the office.

IF we "send a Message" (from the PasSErver Tool) the Licenses are released too so we dont have to Restart the Pas-Server. Is there a Chance to send a Message every 4 Hours for example. Trough a batch-file or something else? This wont Interrupt the other processes.

We need a Solution - hope you can help.
User avatar
escolano
Posts: 1915
Joined: Sun Sep 05, 1982 10:51 pm

Re: Floating license wont release

Post by escolano »

Hi Peter,

Your passerver is running in a Windows or Linux machine?
If do you have other server machine available with other operanting system we can try moving passerver to this machine.
(if do you want we can talk privately about it)

Is is interesting your information that using "send a Message" release these locked licences, we don't know this fact.

Try editing the file passerver.config, than is located in Windows at
C:\Program Files (x86)\PasServer 2.5\config\passerver.config

and change the last line
timecheckconnections 0
to
timecheckconnections 3600000

(3600000 milliseconds==1 hour)
and restart passerverd

about the automatic restarting passerverd it could be done automatically, e.g. every night or weekend at some hour (It doesn't matter if the Atministrators are at home)
e.g. using the Windows scheduler that could invoke
C:\Program Files (x86)\PasServer 2.5\servicestop.bat
and
C:\Program Files (x86)\PasServer 2.5\servicestart.bat
or some equivalent approach using cron in case of Linux
PeterB
Posts: 2
Joined: Thu May 23, 2019 7:29 am

Re: Floating license wont release

Post by PeterB »

thx for the quick answer.

We are using a win 2012 R2 Server -
we installed PAsServer 2.5

i tried to set the timecheckconnections to 6000 so i wouldn have to wait to long to get a success in testing. But sorry it did not work "send a Message" works. Maybe there is another kind of connection check implemented in programing. Could we trigger "send a Message" every hour ?

it says for example - Send to 1 Client and after this the locked Licence is free.

i found out now how to reproduce this "error" if i start GID and the PC gets into "Hibernation mode" the Connection is locked. Restart Client PC close GID the license is locked on the Server.
But the error occurs also during day when no Computers are going to "Hypernation".
desperating matse
Posts: 4
Joined: Tue Jan 08, 2019 5:01 pm

Re: Floating license wont release

Post by desperating matse »

Hello,

we have the same issue too.
Using "timecheckconnections" writes all locked and not reachable sockets in the log but it does not release them...
Using "send a message" really releases these locked licences, thanks for this workaround for not restarting the passerver and interrupt all other students. However, a reasonable solution would be nice.

We would be grateful for appropriate improvement for the passerver.
Olgir
Posts: 1
Joined: Fri Feb 19, 2021 7:06 pm

Re: Floating license wont release

Post by Olgir »

This is still an issue and it makes GiD unusable. Our clients come and go but often licenses never release. We have to restart GiD and interrupt work. We used 2.4 first, then upgraded to 2.5 and it did not help. 2.4 released in 2011, this means the problem is 10 years old and still there, this is ridiculous! Any help please? Maybe linux installation could solve this? Anything?
User avatar
escolano
Posts: 1915
Joined: Sun Sep 05, 1982 10:51 pm

Re: Floating license wont release

Post by escolano »

We have upload just now a new passerver 2.6 version.

https://www.gidhome.com/archive/gid_adds/PasServer

Please, try this new version.

It has a new very interesting for the users: all GiD instancies running in the same machine will be counted only once by passerver.
Post Reply