netstat
Appendix B
Analysis Tools
149
tcpListenDrop = 0 tcpListenDropQ0 = 0
tcpHalfOpenDrop = 0 tcpOutSackRetrans = 56
What to look for
•
tcpListenDrop
- If after several looks at the command output the
tcpListenDrop
continues to increase, it could indicate a problem with queue
size.
Considerations:
•
A possible cause of increasing
tcpListenDrop
is the application throughput
being bottlenecked by the number of executing threads. At this point
increasing application threads may be a good thing to try.
•
Increase queue size. Increase the request queue sizes using
ndd
. More
information on other
ndd
commands referenced in the Solaris Administration
Guide.
ondd -set /dev/tcp tcp_conn_req_max_q <value>
ondd -set /dev/tcp tcp_conn_req_max_q0 <value>
netstat -a | grep <your_hostname> | wc -l
Running this command gives a rough count of socket connections on the
system. The number of connections open at one time is limited; you can use
this tool to look for bottlenecks.
netstat -a | grep <your_hostname> | wc -l Output
#netstat -a | wc -l
34567
What to Look For
•
socket count
- If the number returned is greater than 20,000 then the number
of socket connections could be a possible bottleneck.
Consider the following:
•
Decrease the point where number of anonymous socket connections start.
ondd -set /dev/tcp tcp_smallest_anon_port <value>
•
Decrease the time a TCP connection stays in TIME_WAIT.
ondd -set /dev/tcp tcp_time_wait_interval <value>
Summary of Contents for Portal Server 6 2005Q1
Page 8: ...8 Portal Server 6 2005Q1 Deployment Planning Guide...
Page 10: ...10 Portal Server 6 2005Q1 Deployment Planning Guide...
Page 12: ...12 Portal Server 6 2005Q1 Deployment Planning Guide...
Page 20: ...Sun Welcomes Your Comments 20 Portal Server Secure Remote Access 6 2005Q1 Administration Guide...
Page 36: ...A Typical Portal Server Installation 36 Portal Server 6 2005Q1 Deployment Planning Guide...
Page 50: ...Proxylet 50 Portal Server 6 2005Q1 Deployment Planning Guide...
Page 78: ...SRA Sizing 78 Portal Server 6 2005Q1 Deployment Planning Guide...
Page 132: ...Identity and Directory Structure Design 132 Portal Server 6 2005Q1 Deployment Planning Guide...
Page 142: ...Configuration Files 142 Portal Server 6 2005Q1 Deployment Planning Guide...
Page 152: ...Tuning Parameters for etc system 152 Portal Server 6 2005Q1 Deployment Planning Guide...
Page 178: ...Portal Design Task List 178 Portal Server 6 2005Q1 Deployment Planning Guide...
Page 182: ...182 Portal Server 6 2005Q1 Deployment Planning Guide...
Page 192: ...Section X 192 Portal Server 6 2005Q1 Deployment Planning Guide...