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

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

Advertisement

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,
parameter is not present the maximum is 1024. It can be raised to 4096 by adding to
a line
/etc/system
set rlim_fd_max=4096
and rebooting the system. 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.

Tuning TCP Parameters

By default, the TCP/IP implementation in a Solaris kernel is not correctly tuned for
Internet or Intranet services. The following
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
/etc/init.d/inetinit
ndd -set /dev/tcp tcp_close_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
ndd -set /dev/tcp tcp_conn_req_max_q0 1024
ndd -set /dev/tcp tcp_conn_req_max_q 1024
The
tcp_keepalive_interval
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
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.
, is set in the
rlim_fd_max
in Solaris 8 specifies the number of milliseconds
file:
and
tcp_conn_req_max_q
specifies the interval in seconds between keepalive
value should be inspected when performing
Operating System Requirements
file. By default if this
/etc/system
tuning parameters should be
/dev/tcp
parameters control the
/etc/init.d/inetinit
Chapter 2
Computer System Requirements
file:
27

Advertisement

Table of Contents
loading

Table of Contents