本文主要是介绍ceph large omap objects,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
问题
出现下面告警信息
ceph -scluster:id: xxxxxxxxxxxxxxxxxxxxxxxhealth: HEALTH_WARN7 large omap objects
获取问题 pool
# ceph health detail
HEALTH_WARN 7 large omap objects; 4 clients failing to respond to cache pressure
[WRN] LARGE_OMAP_OBJECTS: 7 large omap objects7 large objects found in pool 'k8s-metadata'
获取有问题 pg 信息
结果返回时间跟你当前集群拥有 PG 数量成正比
PG 越少,返回速度越快
for i in `ceph pg ls-by-pool k8s-metadata | tail -n +2 | head -n -2 | awk '{print $1}'`; do echo -n "$i: "; ceph pg $i query | grep num_large_omap_objects | head -1 | awk '{print $2}'; done | grep ": 1"
11.18a: 1,
11.1fc: 1,
11.215: 1,
11.44f: 1,
11.5d7: 1,
11.808: 1,
11.c23: 1,
获取每个 PG 信
这篇关于ceph large omap objects的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!