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

推荐订阅源

爱范儿
爱范儿
量子位
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
J
Java Code Geeks
B
Blog
V
V2EX
博客园 - 三生石上(FineUI控件)
Blog — PlanetScale
Blog — PlanetScale
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
F
Fortinet All Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
A
About on SuperTechFans
D
DataBreaches.Net
阮一峰的网络日志
阮一峰的网络日志
博客园 - Franky
H
Help Net Security
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog
L
LangChain Blog

博客园 - 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