Code Monkey home page Code Monkey logo

Comments (2)

0x804d8000 avatar 0x804d8000 commented on July 28, 2024

看起来是/proc/self/cgroupcgroups v2下的格式跟cgroups v1的格式不一样导致的解析失败

目前检测cgroups主要是看看当前环境有没有cpu/memory的限制,如果有的话因为确定当前环境的实际资源有一定难度,所以不会主动接受编译任务(但是可以通过--max_remote_tasks来人工指定)

我这儿没有合适的环境调试,先简单workaround了一下,可以试试cgroup-v2-workaround这个分支能不能跑

btw: 如果你那儿能调出来合适的判断方法也可以直接发个mr(这样只有cgroups确实限制了cpu/memory的时候才在IsCGroupPresent()返回true),或者如果你也对cgroups v2的格式不熟悉,但是这个分支的workaround能解决问题的话,晚些时候我会合并 #64

from yadcc.

0x804d8000 avatar 0x804d8000 commented on July 28, 2024

#64应该初步绕过了这个问题。

from yadcc.

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.