NEWJOB_REFRESH

Syntax

NEWJOB_REFRESH=Y|N

Description

Enables a child mbatchd to get up to date information about new jobs from the parent mbatchd. When set to Y, job queries with bjobs display new jobs submitted after the child mbatchd was created.

If you have enabled multithreaded mbatchd support, the bjobs command may not display up-to-date information if two consecutive query commands are issued before a child mbatchd expires because child mbatchd job information is not updated. Use NEWJOB_REFRESH=Y to enable the parent mbatchd to push new job information to a child mbatchd

When NEWJOB_REFRESH=Y, as users submit new jobs, the parent mbatchd pushes the new job event to the child mbatchd. The parent mbatchd transfers the following kinds of new jobs to the child mbatchd:
  • Newly submitted jobs
  • Restarted jobs
  • Remote lease model jobs from the submission cluster
  • Remote forwarded jobs from the submission cluster

When NEWJOB_REFRESH=Y, you should set MBD_REFRESH_TIME to a value greater than 10 seconds.

Required parameters

LSB_QUERY_PORT must be enabled in lsf.conf.

Restrictions

Applies only to UNIX operating systems that support thread programming.

The parent mbatchd only pushes the new job event to a child mbatchd. The child mbatchd is not aware of status changes of existing jobs. The child mbatchd will not reflect the results of job control commands (bmod, bmig, bswitch, btop, bbot, brequeue, bstop, bresume, and so on) invoked after the child mbatchd is created.

Default

Set to Y at time of installation for the DEFAULT and PARALLEL configuration templates. If otherwise undefined, then N (new jobs are not pushed to the child mbatchd).

See also

MBD_REFRESH_TIME