I have a question about Redis active defragment running condition.
Hoping to consult with anyone with Redis experience.
Really appreciate it.
Because my Redis didn't auto-run defragment after hitting mem_fragmentation_ratio.
for auto-running defragment~?
e.g. in my lab
redis_version:6.2.7
redis-cli> info
...
# Memory
used_memory:3852544
used_memory_human:3.67M
used_memory_rss:7434240
used_memory_rss_human:7.09M
used_memory_peak:3932632
used_memory_peak_human:3.75M
used_memory_peak_perc:97.96%
used_memory_overhead:936688
used_memory_startup:813616
used_memory_dataset:2915856
used_memory_dataset_perc:95.95%
allocator_allocated:3960312
allocator_active:4341760
allocator_resident:8933376
total_system_memory:
7287287808total_system_memory_human:6.79G
used_memory_lua:32768
used_memory_lua_human:32.00K
used_memory_scripts:0
used_memory_scripts_human:0B
number_of_cached_scripts:0
maxmemory:4294967296
maxmemory_human:4.00G
maxmemory_policy:volatile-lru
allocator_frag_ratio:1.10
allocator_frag_bytes:381448allocator_rss_ratio:2.06
allocator_rss_bytes:4591616
rss_overhead_ratio:0.83
rss_overhead_bytes:-1499136
mem_fragmentation_ratio:1.95
mem_fragmentation_bytes:3624464mem_not_counted_for_evict:0
mem_replication_backlog:0
mem_clients_slaves:0
mem_clients_normal:123000
mem_aof_buffer:0
mem_allocator:jemalloc-5.1.0
active_defrag_running:0
lazyfree_pending_objects:0
lazyfreed_objects:0
Any feedback is appreciated.
Regards,
Gibson