Tuning ULIMITS

Review ULIMITS and make necessary adjustments.

Note: With TDS 6.2 and higher, ULIMITS must be configured within TDS, not the OS user. The ULIMIT setting that was previously granted to the TDS user has been moved to the TDS configuration file, ibmslapd.conf.
  1. On the TDS server, open ibmslapd.conf for editing.

    The examples that follow show the configuration file before and after the edits you are about to make.

    Example1: ibmslapd.conf file BEFORE configuration

    dn: cn=Ulimits, cn=Configuration
    cn: Ulimits
    ibm-slapdUlimitDataSegment: 262144
    ibm-slapdUlimitDescription: Prescribed minimum ulimit option values
    ibm-slapdUlimitFileSize: 2097151
    ibm-slapdUlimitNofile: 500
    ibm-slapdUlimitRSS: 262144
    ibm-slapdUlimitStackSize: 65536
    ibm-slapdUlimitVirtualMemory: 1048576
    objectclass: top
    objectclass: ibm-slapdConfigUlimit
    objectclass: ibm-slapdConfigEntry
    

    Example1: ibmslapd.conf file AFTER configuration

    dn: cn=Ulimits, cn=Configuration
    cn: Ulimits
    ibm-slapdUlimitDataSegment: -1
    ibm-slapdUlimitDescription: Prescribed minimum ulimit option values
    ibm-slapdUlimitFileSize: -1
    ibm-slapdUlimitNofile: -1
    ibm-slapdUlimitRSS: -1
    ibm-slapdUlimitStackSize: 65536
    
    
  2. UNIX systems only (not IBMi), adjust ULIMIT for the OS root user. When you are finished, the root user should look like the following:

    $ ulimit -a
    time(seconds)        unlimited
    file(blocks)         unlimited
    data(kbytes)         unlimited
    stack(kbytes)        32768
    memory(kbytes)       unlimited
    coredump(blocks)     unlimited
    nofiles(descriptors) unlimited
    threads(per process) unlimited
    processes(per user)  unlimited