-
Notifications
You must be signed in to change notification settings - Fork 217
Closed
Labels
opsDocker, nginx, ops to deploy CentralDocker, nginx, ops to deploy Central
Description
Issue
- A made a commit a while ago to determine the total memory in the container using cgroups v1.
- This fix works fine for containers running cgroups v1, but does not work for cgroups v2.
- The version used is primarily determined by the host OS.
- I made a bit of an oversight, as my machine uses cgroups v1, but v2 is increasingly common. More info for Docker and Kubernetes.
- In scenarios where cgroups v2 is used, we get the following error (although the server still starts correctly):

Solution
- The script should handle both scenarios.
- It's easy enough to determine the cgroup version.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
opsDocker, nginx, ops to deploy CentralDocker, nginx, ops to deploy Central
Type
Projects
Status
β
done