Ifyou have created multiple HTTP listeners, perfdump displays all of them.
Toedit an HTTP listener using the Admin Console, for the conguration, select the HTTP
Listenerstab. Click the listener name to edit the listener.
Tocongure an HTTP listener using the command-line interface, use the command wadm
set-http-listener-prop.
Formore information about adding and editing listen sockets, see the Sun Java System Web
Server7.0 Update 1 Administrator’sGuide.
Address
TheAddress eld contains the base address on which this listen socket is listening. A host can
havemultiple network interfaces and multiple IP addresses. The address contains the IP
addressand the port number.
Ifyour listen socket listens on all network interfaces for the host machine, the IP part of the
addressis 0.0.0.0.
Tuning
Thissetting 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.0for best possible performance.
AcceptorThreads
Acceptorthreads are threads that wait for connections. The threads accept connections and put
themin a queue where they are then picked up by worker threads. For more information, see
“Connection-HandlingOverview” on page 40.
Ideally,you want to have enough acceptor threads so that there is always one available when a
userneeds one, but few enough so that they do not provide too much of a burden on the system.
Agood rule is to have one acceptor thread per CPU on your system. You can increase this value
toabout double the number of CPUs if you nd indications of TCP/IP listen queue overruns.
Tuning
Thissetting is tunable when you edit an HTTP listener. The default value is 1.
OtherHTTP listener settings that aect performance are the size of the send buer and receive
buer.For more information regarding these buers, see your operating system
documentation.
UsingMonitoringData to TuneYour Server
SunJavaSystem Web Server 7.0 Update 1 Performance Tuning,Sizing, and Scaling Guide 52