User`s guide
IBM Lotus Notes, Domino, Domino Designer 8 Release Notes
The mechanism for overriding the default varies depending on how the Domino server is started. There
are 2 basic scenarios:
1. Domino is started from a login session
For this case, the default must be overridden by modifying the file /etc/security/limits.conf AND
insuring it is respected by the login. Edit /etc/security/limits.conf using root and add or modify the
lines:
domsrvr soft nofile 20000
domsrvr hard nofile 49152
where "domsrvr" is an example of the user id that will run the Domino server. Specify the UNIX user
name in the first column that is the owner of the notesdata directory specified during Domino
installation. If more than one Domino partition exists on the same Linux for System z platform, repeat
these lines for each user id. The "soft" value specifies the new default file descriptor limit (ulimit -n),
and the "hard" value specifies the maximum file descriptor limit that may be set by the user.
For SLES 8 and SLES 9
In order for these limits to be respected following logon, ensure the following line is in the appropriate
pam.d login file:
session required /lib/security/pam_limits.so
For RHEL 4
In order for these limits to be respected following logon, ensure the following line is in the appropriate
pam.d login file:
session required /lib64/security/pam_limits.so
.
For example, if ssh login is used, this line must appear in /etc/pam.d/sshd
If telnet is used, this line must appear in /etc/pam.d/login
If rlogin is used, this line must appear in /etc/pam.d/rlogin
The user id must login after the above changes are made and saved.
2. Domino is automatically started through /etc/init.d
The redbook "IBM Lotus Domino 6.5 for Linux on zSeries Implementation " discusses this procedure
in detail (Chapter 9, Section "Automating Domino startup and shutdown"). It is worth noting, however,
that /etc/security/limits.conf settings are NOT respected when Domino is automatically started by a
/etc/init.d script. Therefore, a line such as the following MUST appear in the "start" section of such a
script:
ulimit -n 20000
Warning: Always make /etc/security/limits.conf change ( 1. above) in addition to modification of the
"start" script. Otherwise, on the occasion that Domino is started from a login session, the file
descriptor limit will be inadequate.
90