Hi,

I'm testing ATS works as forwarding proxy, after few hours, I found the number of Cache miss was too high:

$ sudo ./traffic_logstats -s | grep Cache
Cache hit 15 0.24% 243.13KB 0.21% Cache hit IMS 10 0.16% 1.92KB 0.00% Cache hit refresh 123 1.97% 8.48MB 7.42% Cache hit other 0 0.00% 0.00KB 0.00% Cache hit total 148 2.37% 8.72MB 7.62% Cache miss 4,918 78.90% 77.91MB 68.13% Cache miss IMS 829 13.30% 869.13KB 0.74% Cache miss refresh 14 0.22% 32.70KB 0.03% Cache miss other 0 0.00% 0.00KB 0.00% Cache miss total 5,761 92.43% 78.79MB 68.90%

My records.config

CONFIG proxy.config.http.cache.ignore_client_no_cache INT 0
CONFIG proxy.config.http.cache.ims_on_client_no_cache INT 0
CONFIG proxy.config.http.cache.ignore_server_no_cache INT 0

CONFIG proxy.config.http.cache.required_headers INT 2
CONFIG proxy.config.http.cache.max_stale_age INT 604800
CONFIG proxy.config.http.cache.range.lookup INT 1

In the logging, found some static contents was cached, eg. http://pastebin.com/vV9MRCLF but others was not.

Can somebody help me figure out what is my problem please?

Additional, I defined 1GB Ram cache

CONFIG proxy.config.cache.ram_cache.size INT 2147483648

but I see not much RAM was used, could I prefer Ram cache than Disk cache?

Thank you and best regards,
~ Neddy


Reply via email to