Kernel and Device Driver Settings
As described in Collecting Logs and Core Files, kernel settings can be extremely important. File descriptors are another problem source, though typically for earlier versions of Solaris since most Unix platforms have fairly large default values. Windows does not have this problem (except when portable code uses file descriptors for winsock IO).
To find the maximum number of file descriptors available:
- In
ksh
, use ulimit -n. - In
csh
, use limit descriptors.
Some parameters have an affect on performance, including TCP settings on Solaris, as shown below.
Solaris TCP Parameter | Description | Suggested Value |
---|---|---|
tcp_close_wait_interval | On high connection rates, if netstat shows
many sockets in the |
60000 |
tcp_fin_wait_2_flush_interval | Checks the fin wait interval (some versions of solaris can be 10 times the normal value). |
67500 |
Use the following command to get a parameter from the table:
ndd -get /dev/tcp PARAMETER
Use the following command to set a parameter in a table:
ndd -set /dev/tcp PARAMETER