
31
Chapter 4
Transparent Proxy Caching
4. Save and close the
records.config
file.
5. Run the following command to apply the configuration changes:
traffic_line -x
Viewing dynamic bypass statistics
Traffic Server tallies bypassed requests for each type of dynamic bypass trigger. For example, Traffic Server
counts all requests that are bypassed in response to a 401 error.
You can view the dynamic bypass statistics from Traffic Line.
To view dynamic bypass statistics:
1. Telnet into the HP web cache appliance and select Shell Access as described in
Overview of Access
Methods‚ on page 7
.
2. Enter the following command, and then press Return:
traffic_line -i
3. Enter the following command, and then press Return:
get variable
where variable is one of the following statistics:
IMPORTANT
For a dynamic source/destination bypass rule to work, you must also enable the
equivalent destination bypass rule. For example, when you set the variable
proxy.config.arm.bypass_use_and_rules_403
to 1, you must also set the
variable
proxy.config.arm.bypass_on_403
to 1.
Variable
Description
proxy.process.arm.num_bypass_on_bad_client_request
Displays the number of times Traffic Server bypassed
the cache because it detected non-HTTP traffic on port
80.
proxy.process.arm.num_bypass_on_400
Displays the number of times Traffic Server bypassed
the cache because it detected an HTTP 400 error.
proxy.process.arm.num_bypass_on_401
Displays the number of times Traffic Server bypassed
the cache because it detected an HTTP 401 error.
proxy.process.arm.num_bypass_on_403
Displays the number of times Traffic Server bypassed
the cache because it detected an HTTP 403 error.
proxy.process.arm.num_bypass_on_405
Displays the number of times Traffic Server bypassed
the cache because it detected an HTTP 405 error.
proxy.process.arm.num_bypass_on_406
Displays the number of times Traffic Server bypassed
the cache because it detected an HTTP 406 error.
proxy.process.arm.num_bypass_on_408
Displays the number of times Traffic Server bypassed
the cache because it detected an HTTP 408 error.
proxy.process.arm.num_bypass_on_500
Displays the number of times Traffic Server bypassed
the cache because it detected an HTTP 500 error.