Platform LSF Administration Guide Version 6.2
Tuning mbatchd on UNIX
Administering Platform LSF
564
The child mbatchd continues to listen to the port number specified by
LSB_QUERY_PORT and creates threads to service requests until the job status
changes, a new job is submitted, or until the time specified in MBD_REFRESH_TIME
in
lsb.params has passed.
◆
If MBD_REFRESH_TIME is < 10 seconds, 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 > 10 seconds, the child mbatchd exits at 10 seconds
even if the job changes status or a new job is submitted before the 10 seconds
◆
If MBD_REFRESH_TIME > 10 seconds and no job changes status or a new job
is submitted, the child
mbatchd exits at MBD_REFRESH_TIME
Setting a query-dedicated port for mbatchd
To change the default mbatchd behavior so that mbatchd forks a child mbatchd that
can create threads, specify a port number with LSB_QUERY_PORT in
lsf.conf.
1
Log on to the host as the primary LSF administrator.
2
Edit lsf.conf.
3
Add the LSB_QUERY_PORT parameter and specify a port number that will be
dedicated to receiving requests from hosts.
4
Save the lsf.conf file.
5
Reconfigure the cluster:
%
badmin mbdrestart
This configuration only works on UNIX platforms that support thread programming.
Specifying an expiry time for child mbatchds (option)
Use MBD_REFRESH_TIME in lsb.params to define how often mbatchd forks a
new child
mbatchd.
1
Log on to the host as the primary LSF administrator.
2
Edit lsb.params.
3
Add the MBD_REFRESH_TIME parameter and specify a time interval in seconds
to fork a child
mbatchd.
The default value for this parameter is 5 seconds. Valid values are 5 to 300 seconds.
4
Save the lsb.params file.
5
Reconfigure the cluster as follows:
%
badmin reconfig