HP WebQoS Peak for HP-UX Concepts and Operation Guide

Chapter 5 51
HP WebQoS Peak for the Apache Web Server
Integrating HP WebQoS with the Apache Web Server
Example 5-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 when it is acceptable to
determine an acceptable load threshold.
Ending Sessions A session duration can be set with the
HPACSessionDuration directive. The default for this directive is “0.” For
example to set a session to 3600 seconds, use the following directive in
your configuration file:
HPACSessionDuration 3600
The duration of a session is specified in seconds. If the duration is set to
0, the session never expires. If a session exceeds the specified duration, it
is ended.
A session can also be terminated if the time interval between two
successive requests of a session exceeds a set number of seconds. You can
set this time interval with the HPACIdleSessionTimeout directive. The
default for this directive is “300” seconds. For example, to set the time
interval to 120 seconds, use the following directive in your configuration
file:
HPACIdleSessionTimeout 120
NOTE Termination of a session means that the next request coming from the
same user agent will start a new session. All privileges that the old
session might have enjoyed are lost.