Skip to content
Snippets Groups Projects
Commit 224254e9 authored by Matthias Schnepf's avatar Matthias Schnepf
Browse files

Add auto shutdown

parent c9b7d21f
Branches
No related tags found
No related merge requests found
......@@ -30,6 +30,11 @@ MaxShutdownTime = $(MachineStarttime) + $(MachineWalltime)
STARTD.MaxJobRetirementTime = $(MaxShutdownTime) - $(JobStart:0) - 3 * $(MINUTE)
# Auto Shutdown
# Auto Shutdown after 7 minutes of idle time
STARTD_NOCLAIM_SHUTDOWN = 7 * $(MINUTE)
# condor_master exits if condor_startd is not running within 2 minutes
MASTER.DAEMON_SHUTDOWN_FAST = ( STARTD_StartTime == 0 ) && ( ( CurrentTime - DaemonStartTime ) > 2 * $(MINUTE) )
# Shutting down MASTER will trigger shutdown to all other daemons
# Early "nice" shutdown 10 Minutes before limit is reached
MASTER.DAEMON_SHUTDOWN = ( TimeToLive <= 10 * $(MINUTE) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment