Tuning Sun Java System Web Server
This chapter describes specic adjustments you can make that might improve Sun Java System
Web Server performance. It provides an overview of Web Server's connection-handling process
so that you can better understand the tuning settings. The chapter includes the following topics:
■
“General Tuning Tips” on page 39
■
“Understanding Threads, Processes, and Connections” on page 40
■
“Mapping Web Server 6.1 Tuning Parameters to Web Server 7.0” on page 46
■
“Using Monitoring Data to Tune Your Server” on page 48
■
“Tuning the ACL User Cache” on page 77
■
“Tuning Java Web Application Performance” on page 78
■
“Tuning CGI Stub Processes (UNIX/Linux)” on page 81
■
“Using nd-pathinfo-forward” on page 82
■
“Using nostat” on page 82
■
“Using Busy Functions” on page 83
Note – Be very careful when tuning your server. Always back up your conguration les before
making any changes.
General Tuning Tips
As you tune your server, it is important to remember that your specic environment is unique.
The impacts of the suggestions provided in this guide will vary, depending on your specic
environment. Ultimately you must rely on your own judgement and observations to select the
adjustments that are best for you.
As you work to optimize performance, keep the following guidelines in mind:
■
Work methodically
As much as possible, make one adjustment at a time. Measure your performance before and
after each change, and rescind any change that doesn’t produce a measurable improvement.
2
CHAPTER 2
39