Architecting, installing and maintaining your SAS environment

Terminating lingering SAS Grid jobs.

Occasional Contributor
Posts: 17

Terminating lingering SAS Grid jobs.

Hello, how can I configure the Grid to automatically kill jobs that run longer than a week? Or am I going to have to write a bash script? Smiley Happy

Trusted Advisor
Posts: 1,606

Re: Terminating lingering SAS Grid jobs.

[ Edited ]

Hello @kcpython,


well, you can very well do this taks with a script, but LSF can handle orphan jobs as well:


LSF administrator enables the feature at the cluster level 
by defining a cluster-wide termination grace period
with the parameter ORPHAN_JOB_TERM_GRACE_PERIOD in the lsb.params file.
The cluster-wide termination grace period applies to all dependent jobs in the cluster.

You can also read: 

Occasional Contributor
Posts: 17

Re: Terminating lingering SAS Grid jobs.

Posted in reply to JuanS_OCS

What defines a job as an orphan? Or is setting a run time wall a more appropriate way of handling this?

Ask a Question
Discussion stats
  • 2 replies
  • 2 in conversation