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
上一篇: Git基本使用指南