Skip to content

Detect that server is running under cgroup control, get cpu/memory info with limitations #25662

@piotr-szybicki

Description

@piotr-szybicki

Hi, we are planning to run our CH instances in kubernetes and I was wondering if the max_server_memory_usage_to_ram_ratio will check if we are running under a cgroup control and read the value from /sys/fs/cgroup/memory. I suspect that it doesn't but wanted to confirm (found this: flant/loghouse#110).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions