ep_total_cache_size continues to grow and never shrinks
There is an interesting situation we've run into.
It appears that the total_cache_size never shrinks
:~> /opt/membase/bin/ep_engine/management/stats localhost:11212 all | egrep "kv_size|overhead|cache|data_size|ep_mem|flush"
The bucket has a memory quota of 235GB and the web client reports that we are only using about 59GB. Every key in the bucket has an expire of 36 hours. The resident rate is 100% but the replica rate bounces between 0%-30% throughout the day which makes no sense because we never go above 40% space used. The buckets goes between 20mm-30mm items throughout the day.
Is the ep_total_cache_size used in determining when to kick out replicas? Adding ep_overhead + ep_kv_size is still way below both high_wat and low_wat settings.
This is with 1.6.5. Is there way to manually reset the ep_total_cache_size or will I need to flush the bucket and reload the data? I can for this particular bucket since we have it archived, it's just a pain.