惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
IT之家
IT之家
博客园 - 聂微东
The Cloudflare Blog
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
H
Help Net Security
博客园 - 叶小钗
V
V2EX
WordPress大学
WordPress大学
J
Java Code Geeks
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页
C
Check Point Blog
B
Blog
D
DataBreaches.Net
美团技术团队
罗磊的独立博客

博客园 - dribs

PD分离 基于GPT2训练构建医疗问诊机器人 物流行业信息咨询智能问答系统 day8 golang-chan-协程-定时器-锁-等待组 day7 golang GMP golang面试题单向链表和双向链表 golang 自行实现一个base64加密 golang标准库log+第三方zerolog golang标准库序列化反序列化 json + 第三方msgpack golang 标准库 目录操作 golang-day1 进制 golang-标准库文件操作 golang-标准库时间time day6 golang-标准库(随时更新) golang--day5结构体+结构体排序+错误处理+结构体和接口实现面向对象的例子 golang-day4函数 ceph 扩容后healt-error k8s系列---pod手动驱逐 k8s系列---Chart(下)
ceph warn oldest client/flush tid
dribs · 2022-08-09 · via 博客园 - dribs

2022-08-09 15:30  dribs  阅读(682)  评论()    收藏  举报

    health: HEALTH_WARN
            1 clients failing to advance oldest client/flush tid


[root@ceph0001 ~]# ceph health detail
HEALTH_WARN 1 clients failing to advance oldest client/flush tid
MDS_CLIENT_OLDEST_TID 1 clients failing to advance oldest client/flush tid
    mdsceph0002(mds.0): Client node0001 failing to advance its oldest client/flush tid client_id: 2169313

1.找到对应的id

[root@ceph0002 ~]# ceph daemon mds.ceph0002 session  ls|grep 2169313 -A 10
        "id": 2169313,
        "num_leases": 0,
        "num_caps": 39,
        "state": "open",
        "request_load_avg": 150519,
        "uptime": 16855.113280135,
        "replay_requests": 0,
        "completed_requests": 2287874,
        "reconnecting": false,
        "inst": "client.2169313 1.1.1.1:0/3642728200",
        "client_metadata": {
            "features": "0000000000001fff",
            "ceph_sha1": "xxxxxxxxxxxxxxxxxxxxxxxx",
            "ceph_version": "ceph version 14.2.3 (xxxxxxxxxxxxxxxxxxxxx) nautilus (stable)",
            "entity_id": "kubernetes-dynamic-user-baff381e-7a97xxxxxxxxxxxxxxxa",
            "hostname": "node0001",
            "mount_point": "/var/lib/kubelet/pods/c6e01082-f513-493d-8b99-2cc8ef8f6df7/volumes/kubernetes.io~cephfs/pvc-6de4a2c4-29cc-4335-93ff-9fae1e321201",
            "pid": "26838",
            "root": "/1/2/3/kubernetes-dynamic-pvc-baff36eb-7a97-11ec-a5ce-da4d9b86e22a"
        }

2.找到对应的pod

kubectl  get pod -A -o yaml |grep c6e01082-f513-493d-8b99-2cc8ef8f6df7 -C 10

3.删除pod,客户端主动释放

4删不掉的情况下可以ceph 释放该链接

 ceph tell mds.0 client evict id=2169313