If you have created multiple HTTP listeners, perfdump displays all of them.
To edit an HTTP listener using the Admin Console, for the conguration, select the HTTP
Listeners tab. Click the listener name to edit the listener.
To congure 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 eld 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.
AcceptorThreads
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 nd 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 aect performance are the size of the send buer and receive
buer. For more information regarding these buers, see your operating system
documentation.
UsingMonitoringDatatoTuneYour Server
SunJavaSystemWebServer7.0Update1 PerformanceTuning,Sizing,and ScalingGuide •52