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

[Condor-users] Jobs running forever...

sometime it happens that a jobs stays running without terminating and the only thing that can be done is to kill them with 'condor__rm'.
It is possible to avoid this placing, in the submit file, the directive:
# Limit runtime to 30 minutes (30*60=1800 seconds)
maxRunTime = 1800
# Limit total time in queue to 12 hours (60*60*12=43200 seconds)
maxQueueTime = 43200
# Remove jobs exceeding maxRunTime or maxQueueTime
periodic_remove = (RemoteWallClockTime > $(maxRunTime) || ((QDate - CurrentTime) > $(maxQueueTime))

I was wondering if this configuration could be defined at pool level, avoiding the need to put it in every submit file.
Any suggestion?
    Umberto Carlino