Page 1 of 1

Floating license wont release

Posted: Wed Oct 10, 2018 10:41 am
by Bjorn

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!

Re: Floating license wont release

Posted: Wed Oct 10, 2018 2:34 pm
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)

Re: Floating license wont release

Posted: Wed Oct 10, 2018 3:33 pm
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.

Re: Floating license wont release

Posted: Thu May 23, 2019 7:42 am
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.

Re: Floating license wont release

Posted: Thu May 23, 2019 7:38 pm
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
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
C:\Program Files (x86)\PasServer 2.5\servicestart.bat
or some equivalent approach using cron in case of Linux

Re: Floating license wont release

Posted: Fri May 24, 2019 10:58 am
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".

Re: Floating license wont release

Posted: Thu Jul 11, 2019 7:50 am
by desperating matse

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.

Re: Floating license wont release

Posted: Fri Feb 19, 2021 7:15 pm
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?

Re: Floating license wont release

Posted: Thu Apr 08, 2021 8:54 pm
by escolano
We have upload just now a new passerver 2.6 version.

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.