TuningSun Java System Web Server
Thischapter describes specic adjustments you can make that might improve Sun Java System
WebServer performance. It provides an overview of Web Server's connection-handling process
sothat you can better understand the tuning settings. The chapter includes the following topics:
“GeneralTuning Tips” on page 39
“UnderstandingThreads, Processes, and Connections” on page 40
“MappingWeb Server 6.1 Tuning Parameters to Web Server 7.0” on page 46
“UsingMonitoring Data to Tune Your Server” on page 48
“Tuningthe ACL User Cache” on page 77
“TuningJava Web Application Performance” on page 78
“TuningCGI Stub Processes (UNIX/Linux)” on page 81
“Usingnd-pathinfo-forward” on page 82
“Usingnostat” on page 82
“UsingBusy Functions” on page 83
Note– Be very careful when tuning your server. Always back up your conguration les before
makingany changes.

GeneralTuning Tips

Asyou tune your server, it is important to remember that your specic environment is unique.
Theimpacts of the suggestions provided in this guide will vary, depending on your specic
environment.Ultimately you must rely on your own judgement and observations to select the
adjustmentsthat are best for you.
Asyou work to optimize performance, keep the following guidelines in mind:
Workmethodically
Asmuch as possible, make one adjustment at a time. Measure your performance before and
aftereach change, and rescind any change that doesn’t produce a measurable improvement.
2
CHAPTER 2
39