Setting File Descriptors; Tuning Tcp Parameters - Netscape DIRECTORY SERVER 6.2 Installation Manual

Hide thumbs Also See for NETSCAPE DIRECTORY SERVER 6.2:
Table of Contents

Advertisement

Operating System Requirements

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,
default, if this parameter is not present, the maximum is 1024. It can be raised to
4096 by adding to
set rlim_fd_max=4096
and rebooting the system.
CAUTION This parameter should not be raised above 4096 without first
You should also set the soft limit for file descriptors:
ulimit -n
in csh limit desc 1024
Use the
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
should be inspected and, if necessary, changed to fit the network topology of
the installation environment.
The
tcp_time_wait_interval
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
ndd -set /dev/tcp tcp_time_wait_interval 30000
The
tcp_conn_req_max_q0
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
file:
60
Netscape Directory Server Installation Guide • December 2003
rlim_fd_max
/etc/system
consulting your Sun Solaris support representative as it may affect
the stability of the system.
utility (see "dsktune Utility" on page 37) to check about the hard
dsktune
and
, is set in the
a line
/dev/tcp
in Solaris 8 specifies the number of milliseconds
/etc/init.d/inetinit
tcp_conn_req_max_q
file. By
/etc/system
tuning parameters
file:
parameters control the
/etc/init.d/inetinit

Advertisement

Table of Contents
loading

Table of Contents