
TABLE 2–1
Parameter Mapping to
server.xml
(Continued)
Web Server 6.1 parameter
Web Server 7.0
server.xml
element or attribute
Admin Console Location
wadm
command
NativePoolQueueSize
in
magnus.conf
Unchanged
NativePoolStackSize
in
magnus.conf
Unchanged
RqThrottle
in
magnus.conf
max-threads
element of
the
thread-pool
element
Configuration's
Performance tab
⇒
HTTP tab
set-thread-pool-prop
command's
max-threads
property
RqThrottleMin
in
magnus.conf
min-threads
element of
the
thread-pool
element
Configuration's
Performance tab
⇒
HTTP tab
set-thread-pool-prop
command's
min-threads
property
TerminateTimeout
in
magnus.conf
Unchanged
Using Monitoring Data to Tune Your Server
This section describes the performance information available through the Admin Console,
perfdump
, the command-line interface, and
stats-xml
. It discusses how to analyze that
information and tune some parameters to improve your server’s performance.
The default tuning parameters are appropriate for all sites except those with very high volume.
The only settings that large sites might regularly need to change are the thread pool and keep
alive settings. Tune these settings at the configuration level in the Admin Console or using
wadm
commands. It is also possible to tune the server by editing the elements directly in the
server.xml
file, but editing the
server.xml
file directly can lead to complications.
perfdump
monitors statistics in the following categories, which are described in the following
sections. In most cases these statistics are also displayed in the Admin Console, command-line
interface, and
stats-xml
output. The following sections contain tuning information for all
these categories, regardless of what method you are using to monitor the data:
■
“Connection Queue Information” on page 49
■
“HTTP Listener (Listen Socket) Information” on page 51
■
“Keep-Alive Information” on page 53
■
“Session Creation (Thread) Information” on page 57
■
“File Cache Information (Static Content)” on page 59
■
“Thread Pool Information” on page 65
■
“DNS Cache Information” on page 68
In addition, the statistics information displayed through the Admin Console, the
command-line interface, and
stats-xml
contains other categories not contained in the
perfdump
output. Tuning these statistics is discussed in the following sections:
Using Monitoring Data to Tune Your Server
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •
48
Summary of Contents for Sun Java System Web Server 7.0
Page 9: ...Figures FIGURE 2 1 Web Server Connection Handling 40 9 ...
Page 10: ...10 ...
Page 18: ...18 ...
Page 38: ...38 ...
Page 84: ...84 ...
Page 100: ...100 ...