gpt4 book ai didi

amazon-web-services - AWS ElastiCache redis 和 maxmemory

转载 作者:可可西里 更新时间:2023-11-01 11:23:16 26 4
gpt4 key购买 nike

我正在运行配置有节点类型 cache.r5.xlarge 的 AWS Elasticache Redis。根据配置,最大内存应为 28261849702 (28G)。这是从

https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific

但是当连接到 redis 端点时,它只显示 19G:

(来自“信息”命令)

# Memory
...
maxmemory:21196387277
maxmemory_human:19.74G
maxmemory_policy:volatile-lru
...

我想知道是否有人可以解释这种差异?

最佳答案

找到原因:保留内存百分比默认为 25(百分比)。这是特定于 AWS 的东西,而不是 Redis 本身的一部分。

关于amazon-web-services - AWS ElastiCache redis 和 maxmemory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57513565/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com