[torqueusers] Re: kill_delay
Kevin Van Workum
vanw at tticluster.com
Thu Feb 22 12:58:49 MST 2007
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.
On 2/20/07, Kevin Van Workum <vanw at tticluster.com> wrote:
>
> 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/20070222/9a620e1c/attachment.html
More information about the torqueusers
mailing list