Using the command line

Ulimit option values can be modified using the ldapmodify command line utility. For example, to modify the ulimit value for virtual memory, issue the command provided here.

About this task

ldapmodify-D <adminDN> -w <adminPW> -i <filename>

where <filename> contains: 

dn: cn=ulimits, cn= configuration 
changetype: modify 
replace: ibm-slapdUlimitVirtualMemory
ibm-slapdUlimitVirtualMemory: <New prescribed ulimit for virtual memory>
Similarly, the ldapmodify command can be used to modify other ulimit option values such as data segment size, nofile, maximum resident set size (rss), file size, and stack size.