Connection Refused Errors
If users are experiencing connection refused errors on a heavily loaded server, you can tune the
use of network resources on the server.
When a TCP/IP connection is closed, the port is not reused for the duration of
tcp_time_wait_interval
(default value of 240000 milliseconds). This is to ensure that there
are no leftover segments. The shorter the
tcp_time_wait_interval
, the faster precious
network resources are again available. This parameter is changed by executing the following
command (do not reduce it below 60000):
usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval 60000
To automatically have this
ndd
command executed after each system reboot, place it in a file
called
/etc/init.d/network-tuning
and create a link to that file named
/etc/rc2.d/S99network-tuning
.
If your system is not exhibiting the symptoms mentioned, and if you are not well-versed in
tuning the TCP protocol, it is suggested that you do not change the above parameter.
Tuning TCP Buffering
If you are seeing unpredictable intermittent slowdowns in network response from a
consistently loaded server, you might investigate setting the
sq_max_size
parameter by adding
the following line to the
/etc/system
file:
set sq_max_size=512
This setting adjusts the size of the sync queue, which transfers packets from the hardware driver
to the TCP/IP protocol driver. Using the value of 512 allows the queue to accommodate high
volumes of network traffic without overflowing.
Using the Solaris Network Cache and Accelerator
(SNCA)
The Solaris Network Cache and Accelerator (SNCA) is a caching server that provides improved
web performance to the Solaris operating system.
It is assumed that SNCA has been configured for the system on which the Web Server is
running. For more information about SNCA and its configuration and tuning, refer to the
following man pages on your system:
■
ncab2clf(1)
■
ncakmod(1)
Solaris Platform-Specific Issues
Chapter 4 • Platform-Specific Issues and Tips
91
Содержание Sun Java System Web Server 7.0
Страница 9: ...Figures FIGURE 2 1 Web Server Connection Handling 40 9 ...
Страница 10: ...10 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 84: ...84 ...
Страница 100: ...100 ...