edis authentication memory usage

18 views
Skip to first unread message

Peidong Hu

unread,
Dec 10, 2018, 1:00:51 PM12/10/18
to Redis DB
I have found additional 400MiB memory size for 'used_memory_rss_human' in my test on Redis when enable the password authentication in Redis.

This the redis-cli 'info memory' command result before and after I turned off the password authentication,

Anybody has an idea if it's expected or unexpected? Any explanation about what is exactly 'used_memory_rss' and how the 400Mib is calculated by Redis?

Thanks, Peidong

============================ Before turned off password authentication==============

Memory

used_memory:8533117760 used_memory_human:7.95G used_memory_rss:9197273088 used_memory_rss_human:8.57G used_memory_peak:8847161832 used_memory_peak_human:8.24G used_memory_peak_perc:96.45% used_memory_overhead:348789144 used_memory_startup:1458832 used_memory_dataset:8184328616 used_memory_dataset_perc:95.93% total_system_memory:135084605440 total_system_memory_human:125.81G used_memory_lua:37888 used_memory_lua_human:37.00K maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction mem_fragmentation_ratio:1.08 mem_allocator:jemalloc-4.0.3 active_defrag_running:0 lazyfree_pending_objects:0 ============================ After turned off password authentication==============

Memory

used_memory:8535654496 used_memory_human:7.95G used_memory_rss:8767234048 used_memory_rss_human:8.17G used_memory_peak:8546810984 used_memory_peak_human:7.96G used_memory_peak_perc:99.87% used_memory_overhead:348628960 used_memory_startup:1458720 used_memory_dataset:8187025536 used_memory_dataset_perc:95.93% total_system_memory:135084605440 total_system_memory_human:125.81G used_memory_lua:37888 used_memory_lua_human:37.00K maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction mem_fragmentation_ratio:1.03 mem_allocator:jemalloc-4.0.3 active_defrag_running:0 lazyfree_pending_objects:0

Itamar Haber

unread,
Dec 10, 2018, 4:17:36 PM12/10/18
to redi...@googlegroups.com
Hello Peidong,

I suspect this isn't related to disabling the password, but rather due to the fact that you've restarted the server and reloaded the data.


--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.


--

Itamar Haber
Technicalist Evangely

Phone: +972.54.567.9692

Redis Labs

Reply all
Reply to author
Forward
0 new messages