You can control the number of TCP connection requests in
the server queue by adjusting the value of the Solaris tcp_conn_req_max_q parameter.
The tcp_conn_req_max_q parameter
value specifies the maximum number of TCP connection requests that
the server can queue up after establishing a successful connection
(handshake) with a client.
The parameter default value is
128. Increasing this parameter value causes a single TCP connection
to handle more requests before using another TCP connection. By making
this adjustment, other open TCP connections are available longer to
for Java™ to use.
Attention: Each open TCP connection occupies some memory (usually
both bookkeeping tables and buffer space), so fewer TCP connections
are available to other processes. However, the memory footprint is
a minor concern for enterprise-class servers with large amounts of
available RAM.
Run the following
command to adjust the maximum number of TCP connection requests that
the server can queue, where 128 is a value that
is appropriate for your environment: nddset /dev/tcp
tcp_conn_req_max_q 128