Installation guide

Operating System Requirements
30 Netscape Directory Server Installation Guide • October 2004
•Run the dsktune utility to see if you need to install any other patches. The
utility helps you to verify whether you have the appropriate patches installed
on your system and provides useful information and advice on how to tune
your kernel parameters for best performance. For information on the
dsktune
utility, see “dsktune Utility,” on page 28.”
Tuning the System
Set your kernel parameters as follows:
•Set
maxfiles to 1024.
•Set
nkthread to 1328; nkthread is a computed value: (((NPROC*7)/4+16).
Set max_thread_proc to 512.
Set maxusers to 64.
Set maxuprc to 512.
Set nproc to 750.
Typically, client applications that do not properly shut down the socket cause it to
linger in a
TIME_WAIT state. To prevent this, you should consider changing the
TIME_WAIT setting to a reasonable value. For example, setting
ndd -set /dev/tcp tcp_time_wait_interval 60000
will limit the TIME_WAIT state of sockets to 60 seconds.
You also need to turn on large file support in order for Directory Server to work
properly. To change an existing file system (from one that has no large files to one
that accepts large files):
1. Unmount the system using the umount command:
umount /export
2.
Create the large file system:
fsadm -F vxfs -o largefiles /dev/vg01/rexport
3. Remount the file system:
/usr/sbin/mount -F vxfs -o largefiles /dev/vg01/export
For additional information and recommendations about setting these parameters,
consult your operating-system documentation.
install.book Page 30 Wednesday, November 24, 2004 11:30 AM