BookmarkSubscribeRSS Feed
Obsidian | Level 7

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? 🙂

Amethyst | Level 16

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: 

Obsidian | Level 7

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

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 2 in conversation