Hi Quan, Thanks for your information, could you please provide the output by running the command in redis-cli `config get *`?
On Fri, 18 Apr 2025 at 18:24, Hong Quan TRAN <[email protected]> wrote: > Hi the Kvrocks community, > We would like to update you our progress on the integration topic. > We have started to migrate a Redis deployment to Kvrocks for a week. The > Kvrocks is running stable I would say. However, we have concern after > observing the Kvrocks's memory comsuption as it keeps slowly consume more > memory without releasing them back to the OS. At first the memory usage was > 500MB, then it is up to 700MB, 1GB, 1.3GB... > Please note that we already tuning the memory usage using the > recommendations at https://github.com/apache/kvrocks/discussions/2767. > ```kvrocks.conflog-level > <https://github.com/apache/kvrocks/discussions/2767.kvrocks.conflog-level> > infoport 6379rocksdb.max_total_wal_size 256rocksdb.max_write_buffer_number > 2rocksdb.write_buffer_size 32rocksdb.block_cache_size 256``` > We expect the memory consumption would be low and stable with this applied > configuration. However, it keeps slowly increasing, which makes us worry. > Our memory stats so far: > ```docker statsCONTAINER ID NAME CPU % MEM USAGE / > LIMIT MEM % NET I/O BLOCK I/O PIDS561e141f9b72 > kvrocks 0.14% 1.292GiB / 14.3GiB 9.03% 4.77GB / > 1.51GB 270kB / 8.08GB 19``` > ```kvrocks@561e141f9b72:/$ redis-cli -p 6379 info memory# > Memoryused_memory_rss:983244800used_memory_rss_human:937.70Mused_memory_lua:59392used_memory_lua_human:58.00Kused_memory_startup:63860736``` > FYI we are using Kvrocks version 2.11.1. > Could you help provide insights and advice on the Kvrocks memory > management topic? How to limit the Kvrocks memory usage effectively? > > Best regards, > Quan > > -- Best Regards, - *Hulk Lin*
