LSF Version 7.3 - Platform LSF Configuration Reference

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 is allowed to run without limits because the per-process limit was previously disabled.
See also
lsb.queues, bsub, 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 not defined Disabled Enabled
When LSB_JOB_MEMLIMIT is Y, the LSF-enforced per-job limit is enabled, and the OS-
enforced per-process limit is disabled.
When LSB_JOB_MEMLIMIT is N or not defined, the LSF-enforced per-job limit is disabled,
and the OS-enforced per-process limit is enabled.
LSF-enforced per-job limit: When the total memory allocated to all processes in the job exceeds
the memory limit, LSF sends the following signals to kill the job: SIGINT, SIGTERM, then
SIGKILL. The interval between signals is 10 seconds by default.
On UNIX, the time interval between SIGINT, SIGKILL, SIGTERM can be configured with
the parameter JOB_TERMINATE_INTERVAL in lsb.params.
OS-enforced per process limit: When the memory allocated to one process of the job exceeds
the memory limit, the operating system enforces the limit. LSF passes the memory limit to the
operating system. Some operating systems apply the memory limit to each process, and some
do not enforce the memory limit at all.
OS memory limit enforcement is only available on systems that support RLIMIT_RSS for
setrlimit().
lsf.conf
Platform LSF Configuration Reference 413