Service manual
Tuning System Settings
104 Sun ONE Directory Server Installation and Tuning Guide • June 2003
Transmission Control Protocol (TCP) Settings
Specific network settings depend on the platform. On some systems, it is possible
to enhance Directory Server performance by modifying TCP settings. This section
discusses the reasoning behind
idsktune recommendations concerning TCP
settings.
Closed Connections in the TIME-WAIT State
Some systems allow you to configure how long a TCP connection is held in the
kernel table after closure. While the connection is held, it may be opened again
quickly. When set too high, the system may track a large number of connections in
the kernel table over long intervals, reducing the number of available connections
to Directory Server. For most deployments,setting this parameter to a value of 30
seconds (30,000 milliseconds) allows more concurrent connections to Directory
Server.
OnSolarissystems,thistimeintervalisconfiguredthroughthe
tcp_time_wait_interval parameter, as described in the output of
/usr/sbin/directoryserver idsktune (packaged version) or idsktune (no
packages).
Connections Pending Acceptance
Some systems allow you to configure the number of TCP connections pending
acceptance by a TCP listener such as Directory Server. When set too low, this limits
the number of pending connections Directory Server can accept. For most
deployments, setting this parameter to a value of at least 1024 allows Directory
Server to handle more concurrent connection requests.
On Solaris systems, the number of pending connections allowed is configured
through the
tcp_conn_req_max_q parameter, as described in the output of
/usr/sbin/directoryserver idsktune (packaged version) or idsktune (no
packages). Consider increasing
tcp_conn_req_max_q0 to 2048.
Deferred Acknowledgement
Some systems allow you to configure how long TCP acknowledgements are
delayedfor hosts notdirectly connected to thesystem.Instead ofconfiguringdelay
times directly, set
nsslapd-nagle on cn=config to off as described in Table 9-2
on page 152.