Code Monkey home page Code Monkey logo

Comments (5)

MrFireChow avatar MrFireChow commented on May 5, 2024 1

I find this is a bug of cadvisor, and i fix it by:
1.mount -o remount,rw '/sys/fs/cgroup'
2.ln -s /sys/fs/cgroup/cpu,cpuacct /sys/fs/cgroup/cpuacct,cpu

In addition, i suppose that the version of cadvisor needs to be updated.

from caelus.

MrFireChow avatar MrFireChow commented on May 5, 2024

I modify “kubelet_root_dir” ,then the last error(cannot find cpu_manager_state) is fixed, but here comes another problem:

F1209 16:21:09.017311 144120 health_check.go:70] failed init health check config: invalid character ']' looking for beginning of value

I would like to know which config file was checked at this step, please give me a hand, thanks a lot!

from caelus.

ddongchen avatar ddongchen commented on May 5, 2024

hi, The error "stat /sys/fs/cgroup/cpu/cpu.offline: no such file or directory" is not very important, for I found the cpu policy has been replaced as "quota", this is Automatic.
For "failed init health check config: invalid character ']' looking for beginning of value", you can download the latest code and have a try.
Please let me konw if is working.

from caelus.

MrFireChow avatar MrFireChow commented on May 5, 2024

@ddongchen The latest code works for the error "failed init health check config: invalid character ']' looking for beginning of value", however, another problem occurs:

I1211 10:58:22.200793 164324 manager.go:1158] Started watching for new ooms in manager
W1211 10:58:22.200812 164324 manager.go:256] Could not configure a source for OOM detection, disabling OOM events: open /dev/kmsg: no such file or directory
I1211 10:58:22.210798 164324 manager.go:272] Starting recovery of all containers
I1211 10:58:22.265747 164324 manager.go:277] Recovery completed
F1211 10:58:22.273235 164324 cgroup.go:259] cadvisor manager start err: inotify_add_watch /sys/fs/cgroup/cpuacct,cpu: no such file or directory

from caelus.

MrFireChow avatar MrFireChow commented on May 5, 2024

@ddongchen I find "/sys/fs/cgroup/cpu,cpuacct" in my environment instead of "/sys/fs/cgroup/cpuacct,cpu", then in golang container, i find "/sys/fs/cgroup/cpuacct,cpu", does it matter?

from caelus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.