Installing and Configuring HP WebQoS Peak on Linux

Chapter 3 19
HP WebQoS Peak on Linux for the Apache Web Server
Configuring WebQoS Peak on Linux for Apache
Example 3-1 Sample Output from the top Command
5:03pm up 24 days, 2:38, 10 users, load average: 5.58,
14.68, 17.31
100 processes: 97 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: 25.6% user, 34.7% system, 0.0% nice, 39.5% idle
Mem: 322616K av, 189580K used, 133036K free, 63580K shrd,
90944K buff
Swap: 136512K av, 0K used, 136512K free
59816K cached
2. If idle is greater than zero, use CPU utilization to set the load
threshold. To calculate CPU utilization, use (100 - idle)/100. In the
sample output above, the current load threshold is
(100 - 39.5)/100 = 0.60. You determine what value to set, depending
on the type of workoad, the contents of the web server page, and so
on.
If idle equals zero, then set the threshold to the first listed load
average.
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