Installation guide
Operating System Requirements
60 Netscape Directory Server Installation Guide • December 2003
Setting File Descriptors
The system-wide maximum file descriptor table size setting will limit the
number of concurrent connections that can be established to Directory Server.
The governing parameter,
rlim_fd_max, is set in the /etc/system file. By
default, if this parameter is not present, the maximum is 1024. It can be raised to
4096 by adding to
/etc/system a line
set rlim_fd_max=4096
and rebooting the system.
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 37) 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 8 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 similar to the following to the
/etc/init.d/inetinit file:
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 similar to the following to the
/etc/init.d/inetinit
file:
CAUTION This parameter should not be raised above 4096 without first
consulting your Sun Solaris support representative as it may affect
the stability of the system.