Skip to content

[Bug]: 进程脱离容器管理 #79

@lawrence191

Description

@lawrence191

这个问题是否已经存在?

部署环境

内核版本:6.8.0-79-generic #79-Ubuntu
containerd:
Version: 0.1.0
RuntimeName: containerd
RuntimeVersion: 1.7.28
RuntimeApiVersion: v1
kubernetes: 1.25.15

部分节点重启之后,出现报错:
2025-12-04 time="2025-12-04T16:22:53.587286370+08:00" level="info" msg="log level [info] configured in file, use it" file="main.go:263" func="main.main.func1"
2025-12-04 time="2025-12-04T16:22:53.587576277+08:00" level="error" msg="Error: failed to lock pid file: resource temporarily unavailable" func="main.main" file="main.go:303"

主机上查看:
root@xxx:# ps -ef| grep huatuo
root 520227 520137 9 Dec01 ? 06:41:20 ./bin/huatuo-bamai --region test --config huatuo-bamai.conf
root 984358 984245 0 16:19 pts/1 00:00:00 grep --color=auto huatuo
root@xxx:
# crictl ps| grep huatuo

进程可以查看到,但是没有实际的运行容器。kill掉进程后,容器正常运行。

如何复现

多次重启。

修复建议或方案

No response

其他

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions