25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Default Job Control Actions<br />

Default Job Control Actions<br />

SUSPEND action<br />

After a job is started, it can be killed, suspended, or resumed by the system, an<br />

<strong>LSF</strong> user, or <strong>LSF</strong> administrator. <strong>LSF</strong> job control actions cause the status of a job<br />

to change. <strong>LSF</strong> supports the following default actions for job controls:<br />

◆ SUSPEND<br />

◆ RESUME<br />

◆ TERMINATE<br />

On successful completion of the job control action, the <strong>LSF</strong> job control<br />

commands cause the status of a job to change.<br />

The environment variable LS_EXEC_T is set to the value JOB_CONTROLS for<br />

a job when a job control action is initiated.<br />

See “Killing Jobs” on page 121 for more information about job controls and the<br />

<strong>LSF</strong> commands that perform them.<br />

Change a running job from RUN state to one of the following states:<br />

◆ USUSP or PSUSP in response to bstop<br />

◆ SSUSP state when the <strong>LSF</strong> system suspends the job<br />

The default action is to send the following signals to the job:<br />

◆ SIGTSTP for parallel or interactive jobs<br />

SIGTSTP is caught by the master process and passed to all the slave<br />

processes running on other hosts.<br />

◆ SIGSTOP for sequential jobs<br />

SIGSTOP cannot be caught by user programs. The SIGSTOP signal can be<br />

configured with the LSB_SIGSTOP parameter in lsf.conf.<br />

<strong>LSF</strong> invokes the SUSPEND action when:<br />

◆ The user or <strong>LSF</strong> administrator issues a bstop or bkill command to the job<br />

◆ Load conditions on the execution host satisfy any of:<br />

❖ The suspend conditions of the queue, as specified by the STOP_COND<br />

parameter in lsb.queues<br />

❖ The scheduling thresholds of the queue or the execution host<br />

◆ The run window of the queue closes<br />

◆ The job is preempted by a higher priority job<br />

390<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!