Replies: 3 comments 24 replies
-
|
300MB discrepancy between the RSS usage and used memory is not unreasonable. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Main concern here is keys are expiring soon but memory is not being freed as hashing is keep on growing and i did not find any parameter which will reset it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
24 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Even latest versions are behaving same and this usage is continuosly increasing in my scenario around 2.3Mb per minute. Can you please look into it and confirm if there is any parameter which will help us recover the memory because memory in use by keys are less and keys are expiring but memory is not being freed.
Hashing is using way too much memory here.
127.0.0.1:6379> info
Server
redis_version:7.4.0
dragonfly_version:df-v1.32.0
redis_mode:standalone
arch_bits:64
process_id:1
os:Linux 5.14.0-427.37.1.el9_4.x86_64 x86_64
thread_count:1
multiplexing_api:epoll
tcp_port:6379
uptime_in_seconds:1599559
uptime_in_days:18
hz:100
executable:dragonfly
config_file:
Clients
connected_clients:235
max_clients:64000
client_read_buffer_bytes:1281792
blocked_clients:0
pipeline_queue_length:0
send_delay_ms:0
timeout_disconnects:0
Memory
used_memory:2327045016
used_memory_human:2.17GiB
used_memory_peak:5324299280
used_memory_peak_human:4.96GiB
fibers_stack_vms:12841280
fibers_count:314
used_memory_rss:2649477120
used_memory_rss_human:2.47GiB
used_memory_peak_rss:5324299280
maxmemory:7516192768
maxmemory_human:7.00GiB
used_memory_lua:847760
object_used_memory:2322730768
type_used_memory_string:433584
type_used_memory_set:12464
type_used_memory_zset:334959600
type_used_memory_hash:1987325120
table_used_memory:4042944
prime_capacity:80640
expire_capacity:33600
num_entries:7539
inline_keys:11
small_string_bytes:246000
pipeline_cache_bytes:0
dispatch_queue_bytes:0
dispatch_queue_subscriber_bytes:0
dispatch_queue_peak_bytes:21672
client_read_buffer_peak_bytes:2641664
tls_bytes:6184
snapshot_serialization_bytes:0
commands_squashing_replies_bytes:18446744073655919026
psync_buffer_size:1024
psync_buffer_bytes:340154
cache_mode:store
maxmemory_policy:noeviction
replication_streaming_buffer_bytes:0
replication_full_sync_buffer_bytes:0
Stats
total_connections_received:337260
total_handshakes_started:0
total_handshakes_completed:0
total_commands_processed:1808463611
instantaneous_ops_per_sec:1365
total_pipelined_commands:113196854
pipeline_throttle_total:0
pipelined_latency_usec:35632534329
total_net_input_bytes:426470769312
connection_migrations:0
connection_recv_provided_calls:0
total_net_output_bytes:11491731755399
rdb_save_usec:0
rdb_save_count:0
big_value_preemptions:146
compressed_blobs:7
instantaneous_input_kbps:-1
instantaneous_output_kbps:-1
rejected_connections:-1
expired_keys:5536203
evicted_keys:0
total_heartbeat_expired_keys:4952275
total_heartbeat_expired_bytes:245888816
total_heartbeat_expired_calls:818750842
hard_evictions:0
garbage_checked:7615
garbage_collected:53
bump_ups:0
stash_unloaded:704
oom_rejections:0
traverse_ttl_sec:0
delete_ttl_sec:0
keyspace_hits:1233540553
keyspace_misses:94758769
keyspace_mutations:174958592
total_reads_processed:1196207406
total_writes_processed:1185217062
huffenc_attempt_total:0
huffenc_success_total:0
defrag_attempt_total:0
defrag_realloc_total:0
defrag_task_invocation_total:0
reply_count:1185217062
reply_latency_usec:24789351
blocked_on_interpreter:0
lua_interpreter_cnt:10
lua_blocked_total:585141
lua_interpreter_return:127164065
lua_force_gc_calls:0
lua_gc_freed_memory_total:0
lua_gc_duration_total_sec:0
Replication
role:master
connected_slaves:1
slave0:ip=10.233.157.47,port=6379,state=online,lag=28
master_replid:08af91f8741e11b03b2471013cb3adc2ed4ac46e
Modules
module:name=ReJSON,ver=20000,api=1,filters=0,usedby=[search],using=[],options=[handle-io-errors]
module:name=search,ver=20000,api=1,filters=0,usedby=[],using=[ReJSON],options=[handle-io-errors]
Keyspace
db0:keys=0,expires=0,avg_ttl=-1
db12:keys=7377,expires=7375,avg_ttl=-1
db22:keys=68,expires=2,avg_ttl=-1
db26:keys=10,expires=2,avg_ttl=-1
db27:keys=47,expires=47,avg_ttl=-1
db114:keys=2,expires=2,avg_ttl=-1
db118:keys=2,expires=0,avg_ttl=-1
db155:keys=33,expires=27,avg_ttl=-1
Cpu
used_cpu_sys:67391.719379
used_cpu_user:21758.509033
used_cpu_sys_children:0.8139
used_cpu_user_children:0.263
used_cpu_sys_main_thread:67391.594745
used_cpu_user_main_thread:21758.478270
Cluster
cluster_enabled:0
migration_errors_total:0
total_migrated_keys:0
Latencystats
127.0.0.1:6379> exit
date
Mon Dec 8 10:44:47 UTC 2025
Beta Was this translation helpful? Give feedback.
All reactions