fix: 修复 Decision Center 子进程泄露并增强内存归因
This commit is contained in:
@@ -128,10 +128,16 @@ rm -rf -- /tmp/unidesk-cli-output
|
||||
bun scripts/cli.ts gc remote <providerId> memory-distribution
|
||||
```
|
||||
|
||||
- 默认输出物理内存、PSS、cgroup、zombie 和 Kubernetes 对象分布;
|
||||
- 默认一次输出物理内存、PSS、进程 swap、cgroup、zombie 和 Kubernetes 对象分布;
|
||||
- 同一结果必须直接披露 `processes.topSwap`,以及 zombie 父进程的 Kubernetes Pod 归属、
|
||||
泄露分类和处置类别,避免额外执行 `ps`、cgroup 映射和 `kubectl` 拼接;
|
||||
- swap 单独披露,不能计入 WebProbe 启动资格;
|
||||
- 需要完整明细时才使用 `--full`。
|
||||
|
||||
发现大量 zombie 时不得尝试终止 zombie。先按 overview 的 owner 定位长期父进程,
|
||||
修复子进程回收路径,再通过正常自动交付滚动 owner。运行面重启只能清除既有 zombie,
|
||||
不能替代源码修复。
|
||||
|
||||
Kubernetes 历史对象手动回收固定使用:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user