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

Re: [Condor-users] Is ActivationTimer daylight saving shift safe?



On Oct 31, 2005, at 9:56 AM, Ian Chesal wrote:

We use the $(ActivationTimer) macro in our MaxJobRetirementTime
expression:

MaxJobRetirementTime = $(ALTERA_MaxJobRetirementTime) * (
$(ActivationTimer) > ($(ALTERA_AUTO_RETIREMENT_TIME) - 5) )

And at 1:00 am on Sunday morning we saw some longer running jobs
suddenly get evicted. So the hypothesis is that the ActivationTimer for
these jobs went from a positive integer value to a negative value (or 0
value) as the daylight saving shift was applied to the clocks on our
startd's and thus set MaxJobRetirementTime back to 0 on these jobs so
they were candidates for eviction.


Is the macro daylight savings safe (is it a timer)? Or is it calculated
using (CurrentTime - JobStart)?

ActivationTimer is only defined in the config file. The condor daemons see (CurrentTime - JobStart). Condor uses epoch times for these values, so Daylight Saving Time shouldn't affect them, unless your system clock changes instead of just the time zone.


+----------------------------------+---------------------------------+
|            Jaime Frey            |  Public Split on Whether        |
|        jfrey@xxxxxxxxxxx         |  Bush Is a Divider              |
|  http://www.cs.wisc.edu/~jfrey/  |         -- CNN Scrolling Banner |
+----------------------------------+---------------------------------+