[torqueusers] kill_delay

Kevin Van Workum vanw at tticluster.com
Tue Feb 20 12:21:29 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 ---

--- STDOUT ---
Tue Feb 20 14:09:44 EST 2007
Tue Feb 20 14:09:45 EST 2007
Tue Feb 20 14:09:46 EST 2007
Tue Feb 20 14:09:47 EST 2007
Tue Feb 20 14:09:48 EST 2007
Tue Feb 20 14:09:49 EST 2007
--- STDOUT ---


-- 
Kevin Van Workum, Ph.D.
Vice President
Senior System Administrator
www.clusterondemand.com
ONLINE COMPUTER CLUSTERS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20070220/08720a16/attachment.html


More information about the torqueusers mailing list