[torqueusers] Re: kill_delay

Glen Beane glen.beane at gmail.com
Sat Feb 24 08:19:31 MST 2007


On 2/24/07, Ronny T. Lampert <telecaadmin at gmail.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 ---
>  >>
>  > 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.

you can fill out a bug report at www.clusterresources.com/bugzilla


More information about the torqueusers mailing list