Skip to content

wrong cpu/memory info in child when child's limit greater than parent's limit #688

@okhowang

Description

@okhowang

cpu count was read in current cgroup only.
if parent cgroup limit cpu to 2, but current cgroup limit is unlimit,
lxcfs will show all cpu for container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions