欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

google开源的用于监控基础设施应用的工具 cAdvisor 报错 inotify_add_watch /sys/fs/cgroup/cpuacct,cpu

程序员文章站 2022-06-04 18:22:53
...

错误问题

Failed to start container manager: inotify_add_watch /sys/fs/cgroup/cpuacct,cpu: no such file or directory
Could not configure a source for OOM detection, disabling OOM events: open /dev/kmsg: no such file or directory
Failed to create summary reader for “/system.slice/systemd-fsck-root.service”: none of the resources are being tracked.

解决问题

输入以下命令符

mount -o remount,rw '/sys/fs/cgroup'

ln -s /sys/fs/cgroup/cpu,cpuacct /sys/fs/cgroup/cpuacct,cpu
相关标签: 监控