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

[HTCondor-users] Condor fails to hibernate Windows PC



Dear all,

we are running a Condor 8.2.6 cluster of Windows 7 desktop machines and
I would like to let Condor hibernate machines when they are idle. My
problem is that this just does not happen (the machine keeps running).
Please see below for the relevant parts of my config. I was hoping that
somebody who uses hibernate can give me some hints how to debug this.


What I can say so far is the following:

- In StartdLog, I see that the machine is detected as capable of
hibernation mode S3.

- I tried to use condor_power_state.exe to manually hibernate the
machine to S3 and this worked immediately.

- Although I have switched on maximum debug logging for STARTD, I see no
sign in the logs that Condor ever even tries to hibernate the machine
(and fails). Should there be anything logged when Condor attempts
hibernation?


Any hint would be greatly appreciated as I have no clue of how to tackle
this. Thanks a lot in advance!


Jens



CONFIGURATION:


StartIdleTime = 15 * $(MINUTE)

START = ($(CPU_Idle) && (KeyboardIdle > $(StartIdleTime)))

...


HIBERNATE_CHECK_INTERVAL = 300

HibernateState     = 3

TimeToWait      = (1.0 * $(HOUR))



ShouldHibernate = ( (KeyboardIdle > $(StartIdleTime)) \

                    && $(CPUIdle) \

                    && ($(StateTimer) > $(TimeToWait)) )


HIBERNATE = ifThenElse($(ShouldHibernate), $(HibernateState), 0)


side note:
I have all machines configured such that they advertise only a single
slot with 100% of the CPU available to it.