[torqueusers] Re: kill_delay

Ronny T. Lampert telecaadmin at gmail.com
Sat Feb 24 06:39:20 MST 2007


>>     I can't seem to get the kill_delay attribute to work. I have
>>     kill_delay = 30. Submitting the following script (and then qdel-ing
>>     it) indicates that the time between SIGTERM and SIGKILL was 5
>>     seconds. I see the same behavior if I set kill_delay at the server
>>     and/or queue level. Any suggestions?
>>     I have pbs_version = 2.1.6 and Maui version 3.2.6p19.
>> 
>>     --- SCRIPT ---
>>     #!/bin/bash
>>     trap cleanup SIGTERM
>>     function cleanup {
>>         while :
>>         do
>>           date
>>           sleep 1
>>         done
>>     }
>>     sleep 1h
>>     --- SCRIPT ---
 >>
 > Could somebody please be so kind as to try to reproduce
 > this behavior?
 > I'd like to verify that kill_delay isn't working before I try to
 > find a solution to my problem. Thanks.


CONFIRMED!
I have kill-delay = 25 (torque 2.1.6) and I get the same 5 seconds 
output as you do. Should be relatively easy to find in the code, though.

Cheers,
R


More information about the torqueusers mailing list