大网数据广告活动
网站运营与故障问答

What happens when Memcached memory fills up?

· 52CE 我爱测

Hi I have a website running on Drupal and aws ec2 and rds. So I installed memcached on this server and it's working. However I checked the statistics and found the cache is almost full and about 180mb is available. Firstly I want…

问题原文

原帖链接 · user3236765 · CC BY-SA 3.0

Hi I have a website running on Drupal and aws ec2 and rds.

So I installed memcached on this server and it's working. However I checked the statistics and found the cache is almost full and about 180mb is available.

Firstly I want to know what happens with memcached after memory allocated gets full?

已采纳解答

原帖链接 · Chris Rutherfurd · CC BY-SA 3.0

After the memory for a memcached instance gets filled it starts to remove data from the cache based on what has been least recently used. In other words it starts removing data from the cache, least recently used first and moving forward with more recent data until it clears enough space for newer data to be cached.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2017-01-30)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。