-
Notifications
You must be signed in to change notification settings - Fork 998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
memory fragments are very very large #4418
Comments
Hi @kissingtiger |
@adiholden |
you can try to replicate the data into a replica and failover into it. |
I now see in the stats that you attached that the process does not take 400G but 300G In this state the defragmentaion logic will not be executed.
|
Is there any other way to optimize on the currently running instance? To create a new replica node, all businesses need to be restarted |
Did you try running |
memory decommit |
I am afraid we can not provide solutions besides those that were already suggested |
Current running instance version: dragonfly v1.20.1-501b7f7b4fb049de2a8a5fff15d945cd7da1046a
But the memory fragments are very large, and the storage of keys takes up 260GB, but the entire instance occupies 400GB of operating system memory
Memory
used_memory:276957747272
used_memory_human:257.94GiB
used_memory_peak:359901227288
used_memory_peak_human:335.18GiB
fibers_stack_vms:694637168
fibers_count:21209
used_memory_rss:330937298944
used_memory_rss_human:308.21GiB
used_memory_peak_rss:371803025408
maxmemory:429496729600
maxmemory_human:400.00GiB
used_memory_lua:4856048
object_used_memory:276486516808
type_used_memory_STRING:135704128
type_used_memory_HASH:276350812680
table_used_memory:457400296
num_buckets:491520
num_entries:4240754
inline_keys:0
listpack_blobs:0
listpack_bytes:0
small_string_bytes:135704128
pipeline_cache_bytes:549977579
dispatch_queue_bytes:1147574
dispatch_queue_subscriber_bytes:0
dispatch_queue_peak_bytes:549240309
client_read_buffer_peak_bytes:946024960
tls_bytes:5664
snapshot_serialization_bytes:0
cache_mode:cache
maxmemory_policy:eviction
The text was updated successfully, but these errors were encountered: