[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] KILL expression !!



On Wed, 9 Feb 2005 22:01:23 +0100, Mário Costa <atritoman@xxxxxxxxx> wrote:
> I'm trying to kill, a job acording to an expression.
> 
> KILL = (CurrentTime - JobStart) < 60
> 
> but the job doesent die ... :S
> 
> can any one help me about this?

you have misinterpreted the meaning of the KILL expression

if you reread the docs:
http://www.cs.wisc.edu/condor/manual/v6.7/3_6Startd_Policy.html
...you will see that the KILL expression manages the transition
between preempting (Vacating) and preemptiong (Killing). to be used it
must frst get intot he preempting (vacating) state.

This can happen through many reasons detailed:

http://www.cs.wisc.edu/condor/manual/v6.7/3_6Startd_Policy.html#SECTION00467400000000000000

the one you likely want is PREEMPT (you may keep your existing KILL or
just make it TRUE)

Matt