Platform-Specic Issues andTips
Thischapter provides platform-specic tuning tips, and includes the following topics:
“SolarisPlatform-Specic Issues” on page 89
“SolarisFile System Tuning” on page 93
“SolarisPlatform-Specic Performance Monitoring” on page 94
“TuningSolaris for Performance Benchmarking” on page 96
“TuningUltraSPARC T1–Based Systems for Performance Benchmarking” on page 97

Solaris Platform-Specic Issues

Thissection discusses miscellaneous Solaris-specic issues and tuning tips, and includes the
followingtopics:
“FilesOpen in a Single Process (File Descriptor Limits)” on page 89
“Failureto Connect to HTTP Server” on page 90
“ConnectionRefused Errors” on page 91
“TuningTCP Buering” on page 91
“Usingthe Solaris Network Cache and Accelerator (SNCA)” on page 91

FilesOpen in a Single Process (File Descriptor Limits)

Dierentplatforms each have limits on the number of les that can be open in a single process
atone time. For busy sites, you might need to increase that number. On Solaris systems, control
thislimit by setting rlim_fd_max in the /etc/system le. For Solaris 8, the default is 1024,
whichyou can increase to 65536. For Solaris 9 and 10, the default is 65536, which doesn't need
tobe increased.
Aftermaking this or any change in the /etc/system le, reboot Solaris to put the new settings
intoeect. In addition, if you upgrade to a new version of Solaris, any line added to
/etc/systemshould be removed and added again only after verifying that it is still valid.
4
CHAPTER 4
89