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

Re: [Condor-users] WANT_SUSPEND and SUSPEND

> 1. When does the WANT_SUSPEND expression evaluated by startd?
WANT_SUSPEND is evaluated periodically by the startd (see
POLLING_INTERVAL) in the "Claimed Busy" State/Activity or the "Claimed
Retiring" State/Activity, to determine whether to SUSPEND or not.

> 2. Suppose WANT_SUSPEND evaluates to TRUE and SUSPEND gets evaluated
> FALSE. What happens then?
The job isn't suspended, and continues in either the "Busy" or
"Retiring" States.

> Also what is the true need to have two SUSPEND expressions? Wouldn't
> just one expression suffice?
The WANT_SUSPEND determines whether or not the SUSPEND expression is
evaluated. For example, in some cases you might want to move right to
PREEMPT. The SUSPEND expression determines whether or not the job
should be suspended.

Good luck, I hope this helps!

Jason A. Stowe
cell: 607.227.9686
main: 888.292.5320

Cycle Computing, LLC
Leader in Condor Grid Solutions
Enterprise Condor Support and Management Tools