Architecting, installing and maintaining your SAS environment

Terminating lingering SAS Grid jobs.

Reply
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,314

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:

 

https://www.ibm.com/support/knowledgecenter/SSETD4_9.1.3/lsf_admin/orphan_job_termination.html

 

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:

 

http://sunray2.mit.edu/kits/platform-lsf/7.0.6/1/guides/kit_lsf_guide_source/admin/job_ops.html 

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
  • 209 views
  • 0 likes
  • 2 in conversation