MBD_REFRESH_TIME

Syntax

MBD_REFRESH_TIME=seconds [min_refresh_time]

where min_refresh_time defines the minimum time (in seconds) that the child mbatchd will stay to handle queries.

Description

Time interval, in seconds, when mbatchd will fork a new child mbatchd to service query requests to keep information sent back to clients updated. A child mbatchd processes query requests creating threads.

MBD_REFRESH_TIME applies only to UNIX platforms that support thread programming.

To enable MBD_REFRESH_TIME you must specify LSB_QUERY_PORT in lsf.conf. The child mbatchd listens to the port number specified by LSB_QUERY_PORT and creates threads to service requests until the job changes status, a new job is submitted, or MBD_REFRESH_TIME has expired.
  • If MBD_REFRESH_TIME is < min_refresh_time, the child mbatchd exits at MBD_REFRESH_TIME even if the job changes status or a new job is submitted before MBD_REFRESH_TIME expires.

  • If MBD_REFRESH_TIME > min_refresh_time:
    • the child mbatchd exits at min_refresh_time if a job changes status or a new job is submitted before the min_refresh_time

    • the child mbatchd exits after the min_refresh_time when a job changes status or a new job is submitted

  • If MBD_REFRESH_TIME > min_refresh_time and no job changes status or a new job is submitted, the child mbatchd exits at MBD_REFRESH_TIME

The value of this parameter must be between 0 and 300. Any values specified out of this range are ignored, and the system default value is applied.

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. If you use the bjobs command and do not get up-to-date information, you may need to decrease the value of this parameter. Note, however, that the lower the value of this parameter, the more you negatively affect performance.

The number of concurrent requests is limited by the number of concurrent threads that a process can have. This number varies by platform:
  • Sun Solaris, 2500 threads per process

  • AIX, 512 threads per process

  • Digital, 256 threads per process

  • HP-UX, 64 threads per process

Valid Values

5-300 seconds

Default

5 seconds

min_refresh_time default is 10 seconds

See also

LSB_QUERY_PORT in lsf.conf