Platform LSF Reference Version 6.2
lsf.conf
Platform LSF Reference
521
◆
OS-enforced per process limit—When one process in the job exceeds the CPU
limit, the limit is enforced by the operating system. For more details, refer to your
operating system documentation for
setrlimit().
Default
Undefined
Notes
To make LSB_JOB_CPULIMIT take effect, use the command badmin hrestart
all to restart all sbatchds in the cluster.
Changing the default Terminate job control action—You can define a different
terminate action in
lsb.queues with the parameter JOB_CONTROLS if you do not
want the job to be killed. For more details on job controls, see Administering
Platform LSF.
Limitations
If a job is running and the parameter is changed, LSF is not able to reset the type of limit
enforcement for running jobs.
◆
If the parameter is changed from per-process limit enforced by the OS to per-job
limit enforced by LSF (LSB_JOB_CPULIMIT=n changed to
LSB_JOB_CPULIMIT=y), both per-process limit and per-job limit will affect the
running job. This means that signals may be sent to the job either when an individual
process exceeds the CPU limit or the sum of the CPU time of all processes of the
job exceed the limit. A job that is running may be killed by the OS or by LSF.
◆
If the parameter is changed from per-job limit enforced by LSF to per-process limit
enforced by the OS (LSB_JOB_CPULIMIT=y changed to
LSB_JOB_CPULIMIT=n), the job will be allowed to run without limits because
the per-process limit was previously disabled.
See also
lsb.queues
(5), bsub(1), JOB_TERMINATE_INTERVAL in “lsb.params”,
LSB_MOD_ALL_JOBS
LSB_JOB_MEMLIMIT
Syntax
LSB_JOB_MEMLIMIT=y
| n
Description
Determines whether the memory limit is a per-process limit enforced by the OS or
whether it is a per-job limit enforced by LSF.
◆
The per-process limit is enforced by the OS when the memory allocated to one
process of the job exceeds the memory limit.
◆
The per-job limit is enforced by LSF when the sum of the memory allocated to all
processes of the job exceeds the memory limit.
This parameter applies to memory limits set when a job is submitted with
bsub -M
mem_limit
, and to memory limits set for queues with MEMLIMIT in lsb.queues.
The setting of LSB_JOB_MEMLIMIT has the following effect on how the limit is
enforced:
When LSB_JOB_MEMLIMIT is LSF-enforced per-job
limit
OS-enforced per-process
limit
y Enabled Disabled
n or undefined Disabled Enabled