Hey everyone,
I've been having trouble getting TS to recognize any of my cache size
configuration options.
traffic_server --version:
Apache Traffic Server - traffic_server - 3.2.0 - (build # 7719 on Aug 7
2012 at 19:06:21)
I have a reverse proxy setup, and I set the ram cache size to be 128MB:
CONFIG proxy.config.cache.ram_cache.size INT 134217728
CONFIG proxy.config.cache.ram_cache_cutoff INT 4194304
... and verified that the configuration options took:
[root@host]# traffic_line -r proxy.config.cache.ram_cache.size
134217728
But when I check the stats, all my cache sizes are at 0:
[root@host bsmith]# traffic_line -r proxy.process.cache.bytes_total
0
% trafficserver> show:cache-stats
Bytes Used --- 0 GB
Cache Size --- 0 GB
--RAM Cache--
Total Bytes -- 0
Bytes Used --- 0
Hits --------- 0
Misses ------- 0
--Lookups--
In Progress -- 0
Hits --------- 0
Misses ------- 0
--Reads--
In Progress -- 0
Hits --------- 0
Misses ------- 0
--Writes--
In Progress -- 0
Hits --------- 0
Misses ------- 0
--Updates--
In Progress -- 0
Hits --------- 0
Misses ------- 0
--Removes--
In Progress -- 0
Hits --------- 0
Misses ------- 0
trafficserver>
Most of my setup is from the default config:
HTTP Caching --------------------------- on
Maximum HTTP Object Size ----------- NONE
Freshness
Verify Freshness By Checking --------- When The Object Has Expired
Minimum Information to be Cacheable -- An Explicit Lifetime
If Object has no Expiration Date:
Leave it in Cache for at least ----- 3600 s
but no more than ------------------- 86400 s
Variable Content
Cache Responses to URLs that contain
"?",";","cgi" or end in ".asp" ----- on
Alternates Enabled ------------------- off
Vary on HTTP Header Fields:
Text ------------------------------- NULL
Images ----------------------------- NULL
Other ------------------------------ NULL
Cache responses to requests containing cookies for:
All Content-types
Can anyone lend any insight? Right now TrafficServer is only
functioning as a proxy pass-through (every request is hitting our
backend), which I'm assuming because my cache sizes are all 0. Is
there some other configuration option I'm missing?
Thanks!
- Blake