minpengzuibang 2016-06-17 13:36 采纳率: 0%
浏览 2138

Memcached命中率低问题

公司有服务器跑了8个memcache服务,不同的memcache保存不同的数据,
这段时间老出问题,经常是跑个半天或者一两天就出问题,从memcache取不到数据,我
看了下memcache的运行情况,发现memcache里面有数据,但是取数据时命中率非常低,
信息如下:

STAT pid 2020
STAT uptime 1425
STAT time 1466168994
STAT version 1.4.4-14-g9c660c0
STAT pointer_size 32
STAT curr_connections 13
STAT total_connections 14
STAT connection_structures 14
STAT cmd_get 369
STAT cmd_set 136
STAT cmd_flush 258
STAT get_hits 42
STAT get_misses 327
STAT delete_misses 123
STAT delete_hits 3
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 113248
STAT bytes_written 46901
STAT limit_maxbytes 536870912
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT bytes 30091
STAT curr_items 53
STAT total_items 135
STAT evictions 0
END
stats items
STAT items:1:number 1
STAT items:1:age 1451
STAT items:1:evicted 0
STAT items:1:evicted_nonzero 0
STAT items:1:evicted_time 0
STAT items:1:outofmemory 0
STAT items:1:tailrepairs 0
STAT items:3:number 7
STAT items:3:age 567
STAT items:3:evicted 0
STAT items:3:evicted_nonzero 0
STAT items:3:evicted_time 0
STAT items:3:outofmemory 0
STAT items:3:tailrepairs 0
STAT items:4:number 10
STAT items:4:age 492
STAT items:4:evicted 0
STAT items:4:evicted_nonzero 0
STAT items:4:evicted_time 0
STAT items:4:outofmemory 0
STAT items:4:tailrepairs 0
STAT items:5:number 2
STAT items:5:age 567
STAT items:5:evicted 0
STAT items:5:evicted_nonzero 0
STAT items:5:evicted_time 0
STAT items:5:outofmemory 0
STAT items:5:tailrepairs 0
STAT items:7:number 12
STAT items:7:age 492
STAT items:7:evicted 0
STAT items:7:evicted_nonzero 0
STAT items:7:evicted_time 0
STAT items:7:outofmemory 0
STAT items:7:tailrepairs 0
STAT items:8:number 1
STAT items:8:age 1343
STAT items:8:evicted 0
STAT items:8:evicted_nonzero 0
STAT items:8:evicted_time 0
STAT items:8:outofmemory 0
STAT items:8:tailrepairs 0
STAT items:10:number 1
STAT items:10:age 1451
STAT items:10:evicted 0
STAT items:10:evicted_nonzero 0
STAT items:10:evicted_time 0
STAT items:10:outofmemory 0
STAT items:10:tailrepairs 0
STAT items:12:number 17
STAT items:12:age 427
STAT items:12:evicted 0
STAT items:12:evicted_nonzero 0
STAT items:12:evicted_time 0
STAT items:12:outofmemory 0
STAT items:12:tailrepairs 0
STAT items:13:number 1
STAT items:13:age 945
STAT items:13:evicted 0
STAT items:13:evicted_nonzero 0
STAT items:13:evicted_time 0
STAT items:13:outofmemory 0
STAT items:13:tailrepairs 0
STAT items:14:number 1
STAT items:14:age 428
STAT items:14:evicted 0
STAT items:14:evicted_nonzero 0
STAT items:14:evicted_time 0
STAT items:14:outofmemory 0
STAT items:14:tailrepairs 0
END
求助各位大神帮分析分析,为什么跑着跑着就出现这样的问题,而且问题出现后,重启缓存不好使,为什么命中率低呢,有什么解决思路吗?我是第一次用memcache,谢谢

  • 写回答

1条回答 默认 最新

  • oyljerry 2016-06-17 15:34
    关注

    这个是你集群没有配置好?没法知道查询的数据在哪个服务器?

    评论

报告相同问题?

悬赏问题

  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 LiBeAs的带隙等于0.997eV,计算阴离子的N和P
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 来真人,不要ai!matlab有关常微分方程的问题求解决,
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算