Installation guide

Operating System Requirements
40 Netscape Directory Server Installation Guide • October 2004
You should also set the soft limit for file descriptors:
ulimit -n
in csh limit desc 1024
Use the dsktune utility (see “dsktune Utility,” on page 28) to check about the
hard and soft limits for file descriptors.
Tuning TCP Parameters
By default, the TCP/IP implementation in a Solaris kernel is not correctly tuned
for Internet or Intranet services. The following
/dev/tcp tuning parameters
should be inspected and, if necessary, changed to fit the network topology of the
installation environment.
The
tcp_time_wait_interval in Solaris 9 specifies the number of milliseconds
that a TCP connection will be held in the kernel’s table after it has been closed. If
its value is above
30000 (30 seconds) and the directory is being used in a LAN,
MAN, or under a single network administration, it should be reduced by adding
a line to the
/etc/init.d/inetinit file similar to the following:
ndd -set /dev/tcp tcp_time_wait_interval 30000
The tcp_conn_req_max_q0 and tcp_conn_req_max_q parameters control the
maximum backlog of connections that the kernel will accept on behalf of the
Directory Server process. If the directory is expected to be used by a large number
of client hosts simultaneously, these values should be raised to at least
1024 by
adding a line to the
/etc/init.d/inetinit file similar to the following:
ndd -set /dev/tcp tcp_conn_req_max_q0 1024
ndd -set /dev/tcp tcp_conn_req_max_q 1024
The tcp_keepalive_interval specifies the interval in seconds between
keepalive packets sent by Solaris for each open TCP connection. This can be used
to remove connections to clients that have become disconnected from the
network.
The
tcp_rexmit_interval_initial value should be inspected when
performing server performance testing on a LAN or high speed MAN or WAN.
For operations on the wide area Internet, its value need not be changed.
CAUTION This parameter should not be raised above
4096 without first
consulting your Sun Solaris support representative since it may
affect the stability of the system.
install.book Page 40 Wednesday, November 24, 2004 11:30 AM