Floating license wont release

Moderator: GiD Team

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

Floating license wont release

Postby Bjorn » Wed Oct 10, 2018 10:41 am

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: 1570
Joined: Thu Sep 18, 2014 3:31 pm

Re: Floating license wont release

Postby escolano » Wed Oct 10, 2018 2:34 pm

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

Postby Bjorn » Wed Oct 10, 2018 3:33 pm

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

Postby PeterB » Thu May 23, 2019 7:42 am

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: 1570
Joined: Thu Sep 18, 2014 3:31 pm

Re: Floating license wont release

Postby escolano » Thu May 23, 2019 7:38 pm

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

Postby PeterB » Fri May 24, 2019 10:58 am

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

Postby desperating matse » Thu Jul 11, 2019 7:50 am

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.

Return to “Licences”

Who is online

Users browsing this forum: Google [Bot] and 2 guests