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
_______________________________________________
torqueusers mailing list
torqueusers@xxxxxxxxxxxxxxxx
http://www.supercluster.org/mailman/listinfo/torqueusers
|