pjohns
4th April 2002, 12:09
Is there another way to clear ghost licence connections other than licmon -k and then restarting the licence daemon?
Thanks
PJ
James
4th April 2002, 13:46
This has been an ongoing issue for a long time.
To my knowledge there is no other way but to stop/start the licence daemon.
pjohns
4th April 2002, 13:51
Thanks James,
This is what I normally do but I'm always concerned that when you licmon -k there may be working processes that also get killed off accidentally.
Thanks again.
PJ
patvdv
4th April 2002, 14:01
PJ,
Call the Ghostbusters :) J/k, I am not sure what some of the 3rd party tools could for you in this case. I know they can prevent it happening from licenses getting stuck but don't know if they can actually remove dead licenses as they are. My bet would be that they only work in a preventive way. Killing the license daemon should not have much of an impact of current connections although we have had discussions about that before. I am sure you can search the forums for those!
James
4th April 2002, 14:01
If I remember, stopping the licence daemon will not affect existing connections. Only users trying to connect while the licence daemon is down will have a problem.
pjohns
4th April 2002, 14:33
I know that killing the licmon does have an affect on some existing processes.
We run our DRP/SIC planning engines over night and 12 months ago the process run kept on crashing out during the night. The only error message seen by the user was that BW lost connection to the server. After days of head scratching I narrowed down the time of disconnection to the same time that we had a cron job running which restated the licence daemon. The cron job was disabled and hey presto the planning engines ran with no interruptions.
Thanks for your input guys
Regards
PJ
Frank Rogers
5th April 2002, 20:54
I am not advertising but our "ghosts" have all but disappeared since we implemented "closeidle" . It also saves the company money in Baan licences
It does however "upset" the users somewhat but then it is "their" managements decision/policy on logout timing not IT
tjbyfield
9th June 2002, 15:30
Frank,
I am new to baanboard and I am not clear on the edicit yet BUT I would like to ask how I can get details of clearidle program
Terry
~Vamsi
9th June 2002, 19:22
http://www.dsigb.com/closeidle.html
gallen
24th July 2002, 23:39
This is a known issue we battled for a long time. We finally got Baan to concede because of our 24X7, 365 operations and no intent to correct it in IV to increase our license count so we could make it between monthly downtimes without having to restart the license daemon.
I agree in most cases, killing the license daemon and restarting won't cause problems with existing connections, but it is not a chance we're willing to take.
I believe the Close Idle product is a very good one, but one word of caution. Someone please correct me if I'm not current, but the last time I checked on it, it worked primarily off what the bshell was doing. We run in a three-tier client server environment where every user access the db server with the same db user. It's rare, but some sessions/jobs (year end processes for example) run for long periods of time (i.e. 2days). All the processes on the application server appear idle for long periods of time and would normally be closed by Close Idle even though there is a process over on the db server cranking away.
I believe you can exclude certain users if you can manage that way though. I'm not real good with perl, but a previous administrator for us wrote a perl script that also checks to make sure nothing is being done on the db server before killing a user.
chjagge
25th July 2002, 01:42
True, the existing users would not get disconnected, however if you run sessions that goes out to validate the object like the ott sessions or running an exchange scheme you will get a message referring to the absence of a valid licence daemon. Note that if your running in a network environment (multiple licd6.1) then licmon6.1 -k kill all licence daemon as opposed to using licd6.1 -k which kills it for that server.