HP WebQoS Peak for HP-UX Concepts and Operation Guide
38 Chapter4
HP WebQoS Peak for the Zeus Web Server
Configuring HP WebQoS for Zeus
configured in config.ac.
Admit Sessions
For the default value, the load threshold is set to 2.
To calculate the load threshold, do the following:
1. Run the top command. Note the first listed “Load averages” and the
percentage listed under “IDLE” of “Cpu states.”
Example 4-1 Sample Output from the top Command
System: web_server Wed Apr 22 10:41:59 1998
Load averages: 1.45, 1.46, 1.78
149 processes: 145 sleeping, 3 running, 1 stopped
Cpu states:
LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
1.45 100.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
2. If IDLE is greater than zero, then set the threshold to
(100 - IDLE)/100.
If IDLE equals zero, then set the threshold to the first listed load
average.
Using the above sample output, you would set the load threshold to
1.45.
Run top when performance is poor and acceptable to determine an
Table 4-1 HP WebQoS for Zeus Configurable Parameters: Admit Sessions
Parameter Description
Shutdown After the specified number of seconds, do not admit any new
sessions and reject all remaining sessions.
Always Disable HP WebQoS and admit all sessions to the web
server. If you are permanently disabling HP WebQoS, you
should remove HP WebQoS from your system (see
“Removing HP WebQoS for Zeus” on page 43 for more
information).
Load If the load is less than this specified amount, admit the
session. The load threshold works best when a web
application is processor-intensive.