Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Job attribute based preemption
- Date: Wed, 4 Apr 2007 12:36:28 -0400
- From: "Ian Chesal" <ICHESAL@xxxxxxxxxx>
- Subject: Re: [Condor-users] Job attribute based preemption
> Is anybody running the Windows version of Condor able to to
> get MaxJobRetirementTime to work?
Yes. We've been using this with 6.8.x on Windows. We have:
condor_config_val maxjobretirementtime
((False =?= True) * ( 9676800 * (( ((VirtualMachineID <= 0) == FALSE) &&
( (True && (((LoadAvg - CondorLoadAvg) >= 0.5) || (KeyboardIdle < 60)))
|| (( ((ClockDay > 0 && ClockDay < 6) && ( ( 360 > 1200 && ( ClockMin >=
1200 && ClockMin <= 360 ) ) || ( 360 < 1200 && ( ClockMin >= 1200 ||
ClockMin <= 360 ) ) )) || ((ClockDay == 0 || ClockDay == 6) && ( ( 1439
> 0 && ( ClockMin >= 0 && ClockMin <= 1439 ) ) || ( ( 1439 < 0 && (
ClockMin >= 0 || ClockMin <= 1439 ) ) ) )) ) == FALSE) ) ) == FALSE) *
((Activity != "Idle") && ((CurrentTime - JobStart) > 300)) )) + ((False
=!= True) * ( 9676800 * ((Activity != "Idle") && ((CurrentTime -
JobStart) > 300)) ))
Works great.
> It doesn't seem to work though...jobs get vacated anyway when
> user priorities change. Is there something else I need to do
> to get this to work?
Did you issue a condor_reconfig on those machines? Maybe even do a net
stop/start on condor.
- Ian