Find and share HowTos to various installations / configurations!
5 posts • Page 1 of 1
5 posts
• Page 1 of 1
nicolas.chaix
Posts:3
Joined: Tue Mar 28, 2017 2:41 pm
How to set a longer timeout for the Control Managers alive Checking
Postby nicolas.chaix »
Dear community,
I have programmed a control manager script which takes a long time to make its cycle (more than 30 s for its 1st cycle) and this is normal because it scruts a very long dyn_string.
This causes a CrashAction (control manager in status '3') after 30s due to an heart beat loss, and, once the script cycle over, come back to a normal status.
Is there a possibility to change this 30s time to a longer one? Or is there a way to give to the system (pmon I suppose) an heartbeat signal to avoid it?
Re: How to set a longer timeout for the Control Managers alive Checking
Postby leoknipp »
Using a delay(); in the CTRL script will not force a thread switch.
When a function is executed which takes long time, e.g. sorting a huge dyn array, it cannot be interrupted and it possibly leads to the information from the process monitor that the manager is blocking.
Best Regards
Leopold Knipp
Senior Support Specialist