LSF Version 7.3 - Administering Platform LSF
Examples
550 Administering Platform LSF
Sets a per-process (soft) stack segment size limit for all of the processes belonging
to a job.
By default, the limit is specified in KB. Use LSF_UNIT_FOR_LIMITS in
lsf.conf
to specify a larger unit for the the limit (MB, GB, TB, PB, or EB).
An
sbrk() call to extend the stack segment beyond the stack limit causes the
process to be terminated. The default is no soft limit.
Virtual memory (swap) limit
Sets a total process virtual memory limit for the whole job. The default is no limit.
Exceeding the limit causes the job to terminate.
By default, the limit is specified in KB. Use LSF_UNIT_FOR_LIMITS in
lsf.conf
to specify a larger unit for the the limit (MB, GB, TB, PB, or EB).
This limit applies to the whole job, no matter how many processes the job may
contain.
Examples
Queue-level limits
CPULIMIT = 20/hostA 15
The first number is the default CPU limit. The second number is the maximum
CPU limit.
However, the default CPU limit is ignored because it is a higher value than the
maximum CPU limit.
CPULIMIT = 10/hostA
In this example, the lack of a second number specifies that there is no default CPU
limit. The specified number is considered as the default and maximum CPU limit.
RUNLIMIT = 10/hostA 15
The first number is the default run limit. The second number is the maximum run
limit.
The first number specifies that the default run limit is to be used for jobs that are
submitted without a specified run limit (without the
-W option of bsub).
RUNLIMIT = 10/hostA
No default run limit is specified. The specified number is considered as the default
and maximum run limit.
THREADLIMIT=6
No default thread limit is specified. The value 6 is the default and maximum thread
limit.
THREADLIMIT=6 8
The first value (6) is the default thread limit. The second value (8) is the maximum
thread limit.
Job syntax (bsub) Queue syntax (lsb.queues) Fomat/Default Units
-v swap_limit SWAPLIMIT=limit integer KB