trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Veiko Kukk <veiko.k...@gmail.com>
Subject Understanding RAM cache size and limits
Date Fri, 16 Feb 2018 11:56:36 GMT
Hi,

We have strange situation with ATS 7.1.2 where RAM cache has grown beyond
set limits.

# /opt/trafficserver/bin/traffic_ctl metric match ram
proxy.process.cache.ram_cache.total_bytes 3112697856
proxy.process.cache.ram_cache.bytes_used 4493088640
proxy.process.cache.ram_cache.hits 1548
proxy.process.cache.ram_cache.misses 1635443
proxy.process.cache.volume_1.ram_cache.total_bytes 778174464
proxy.process.cache.volume_1.ram_cache.bytes_used 1067949184
proxy.process.cache.volume_1.ram_cache.hits 374
proxy.process.cache.volume_1.ram_cache.misses 403206
proxy.process.cache.volume_2.ram_cache.total_bytes 778174464
proxy.process.cache.volume_2.ram_cache.bytes_used 1129483520
proxy.process.cache.volume_2.ram_cache.hits 368
proxy.process.cache.volume_2.ram_cache.misses 410164
proxy.process.cache.volume_3.ram_cache.total_bytes 778174464
proxy.process.cache.volume_3.ram_cache.bytes_used 1084551424
proxy.process.cache.volume_3.ram_cache.hits 357
proxy.process.cache.volume_3.ram_cache.misses 408656
proxy.process.cache.volume_4.ram_cache.total_bytes 778174464
proxy.process.cache.volume_4.ram_cache.bytes_used 1211104512
proxy.process.cache.volume_4.ram_cache.hits 449
proxy.process.cache.volume_4.ram_cache.misses 413417

Relevant config parameters:
# /opt/trafficserver/bin/traffic_ctl config match ram
proxy.config.cache.ram_cache_cutoff: 16777216
proxy.config.cache.ram_cache.size: -1
proxy.config.cache.ram_cache.algorithm: 1
proxy.config.cache.ram_cache.use_seen_filter: 1
proxy.config.cache.ram_cache.compress: 0
proxy.config.cache.ram_cache.compress_percent: 90
proxy.config.ssl.server.dhparams_file: NULL
proxy.config.http2.max_frame_size: 16384

I understand that, if set to -1, ATS will determine RAM cache size
automatically and that in our case would be
proxy.process.cache.ram_cache.total_bytes 3112697856 .

Why and how can it use more than that?

-- 
Veiko

Mime
View raw message