
If you have created multiple HTTP listeners,
perfdump
displays all of them.
To edit an HTTP listener using the Admin Console, for the configuration, select the HTTP
Listeners tab. Click the listener name to edit the listener.
To configure an HTTP listener using the command-line interface, use the command
wadm
set-http-listener-prop
.
For more information about adding and editing listen sockets, see the
Sun Java System Web
Server 7.0 Update 1 Administrator’s Guide
.
Address
The
Address
field contains the base address on which this listen socket is listening. A host can
have multiple network interfaces and multiple IP addresses. The address contains the IP
address and the port number.
If your listen socket listens on all network interfaces for the host machine, the IP part of the
address is 0.0.0.0.
Tuning
This setting is tunable when you edit an HTTP listener. If you specify an IP address other than
0.0.0.0, the server makes one less system call per connection. Specify an IP address other than
0.0.0.0 for best possible performance.
Acceptor Threads
Acceptor threads are threads that wait for connections. The threads accept connections and put
them in a queue where they are then picked up by worker threads. For more information, see
“Connection-Handling Overview” on page 40
.
Ideally, you want to have enough acceptor threads so that there is always one available when a
user needs one, but few enough so that they do not provide too much of a burden on the system.
A good rule is to have one acceptor thread per CPU on your system. You can increase this value
to about double the number of CPUs if you find indications of TCP/IP listen queue overruns.
Tuning
This setting is tunable when you edit an HTTP listener. The default value is 1.
Other HTTP listener settings that affect performance are the size of the send buffer and receive
buffer. For more information regarding these buffers, see your operating system
documentation.
Using Monitoring Data to Tune Your Server
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •
52
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 ...