Hello Experts,
using policy examples from [1] on versionÂ9.0.17Â
- How to use multiple policies? If I put the policies in the following manner it's ignoring the runtime limit policy, maybe memory policy overwriting it?ÂÂ
use POLICY : Preempt_if_Runtime_Exceeds(30)
MEMORY_EXCEEDED = (isDefined(MemoryUsage) && MemoryUsage > RequestMemory)
use POLICY : PREEMPT_IF(MEMORY_EXCEEDED)
- What's the difference betweenÂHold_if_Runtime_Exceeds andÂPreempt_if_Runtime_Exceeds,
In my test both are putting the job on hold, I was expecting the job to be killed in the latter case. Only difference is the Holdreason message.Â
Scenario 1:Â
use POLICY : Hold_if_Runtime_Exceeds(30)
Message:
Scenario 2:
use POLICY : Hold_if_Runtime_Exceeds(30)
Message: It includes time 30 seconds
Thanks & Regards,
Vikrant Aggarwal