Platform LSF Reference Version 6.2
lsf.conf
Platform LSF Reference
573
Next, LSF resource usage limits are enforced for the IRIX job under which the LSF job
is running. LSF limits override the corresponding IRIX job limits. The ULDB limits are
used for any LSF limits that are not defined. If the job reaches the IRIX job limits, the
action defined in the IRIX system is used.
IRIX job limits in the ULDB apply only to batch jobs.
See the IRIX 6.5.8 resource administration documentation for information about
configuring ULDB domains in the
jlimit.in file.
LSF resource usage limits controlled by ULDB
◆
PROCESSLIMIT—Corresponds to IRIX JLIMIT_NUMPROC; fork(2) fails,
but the existing processes continue to run
◆
MEMLIMIT—Corresponds to JLIMIT_RSS; Resident pages above the limit
become prime swap candidates
◆
DATALIMIT—Corresponds to LIMIT_DATA; malloc(3) calls in the job fail with
errno set to ENOMEM
◆
CPULIMIT—Corresponds to JLIMIT_CPU; IRIX sends SIGXCPU signal to job,
then after the grace period expires, sends SIGINT, SIGTERM, and SIGKILL
◆
FILELIMIT—No corresponding IRIX limit; use process limit RLIMIT_FSIZE
◆
STACKLIMIT—No corresponding IRIX limit; use process limit
RLIMIT_STACK
◆
CORELIMIT—No corresponding IRIX limit; use process limit RLIMIT_CORE
◆
SWAPLIMIT—Corresponds to JLIMIT_VMEM; use process limit
RLIMIT_VMEM
Increasing the default MEMLIMIT for ULDB
In some pre-defined LSF queues, such as normal, the default MEMLIMIT is set to
5000 (5 MB). However, if ULDB is enabled (LSF_ULDB_DOMAIN is defined) the
MEMLIMIT should be set greater than 8000 in
lsb.queues.
Example ULDB
domain
configuration
The following steps enable the ULDB domain LSF for user user1:
1
Define the LSF_ULDB_DOMAIN parameter in lsf.conf:
...
LSF_ULDB_DOMAIN=LSF
...
Note that you can set the LSF_ULDB_DOMAIN to include more than one
domain. For example:
LSF_ULDB_DOMAIN="lsf:batch:system"
2
Configure the domain directive LSF in the jlimit.in file:
domain <LSF> { # domain for LSF
jlimit_numproc_cur=unlimited
jlimit_numproc_max=unlimited # JLIMIT_NUMPROC
jlimit_nofile_cur=unlimited
jlimit_nofile_max=unlimited # JLIMIT_NOFILE
jlimit_rss_cur=unlimited
jlimit_rss_max=unlimited # JLIMIT_RSS
jlimit_vmem_cur=128M