Moderator: GiD Team
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)
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.
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
(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
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".
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.
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.