JOB_GROUP_IDLE_TTL

Defines the job group's time-to-live (TTL) when all jobs leave the job group.

Syntax

JOB_GROUP_IDLE_TTL=time_seconds

Description

LSF sets the job group's TTL to the value of JOB_GROUP_IDLE_TTL when all jobs leave a job group. The mbatchd daemon removes the job group once the TTL reaches zero. LSF removes the TTL from a job group when new jobs are submitted to the job group or when a new sub-group is added to the job group.

If JOB_GROUP_IDLE_TTL is set to 0, LSF deletes the job groups as soon as all jobs leave.

If JOB_GROUP_IDLE_TTL is set to -1, LSF disables TTL and does not automatically delete job groups.

If the value of JOB_GROUP_IDLE_TTL changes, run the badmin mbdrestart command to apply the changes. The new TTL also takes effect on job groups that were created before changing this parameter value.

Valid values

  • If JOB_GROUP_IDLE_TTL is a positive integer, LSF sets the job group's idleStartTime as 0 when a new job enters. When all jobs leave the job group, the idleStartTime is set as the current time. When a job group's idle time is larger than the JOB_GROUP_IDLE_TTL, mbatchd removes the job group.
  • If JOB_GROUP_IDLE_TTL = 0, LSF removes all job groups when all jobs leave the job groups.
  • If JOB_GROUP_IDLE_TTL = -1, LSF disables TTL and does not automatically delete job groups.

Default

-1 (TTL is disabled)