Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve reporting of memory size in docker env #4274

Merged
merged 4 commits into from
Oct 16, 2023
Merged

Improve reporting of memory size in docker env #4274

merged 4 commits into from
Oct 16, 2023

Conversation

saberduck
Copy link
Contributor

@saberduck saberduck commented Oct 13, 2023

Memory limit in Docker is set using cgroup. There are two versions used which expose the limit via different paths in /sys/fs/cgroup filesystem.

It also fixes the problem that Docker memory limit was not reported in MB but in bytes.

@saberduck saberduck enabled auto-merge (squash) October 16, 2023 15:36
@sonarqube-next
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@saberduck saberduck merged commit 382f0b9 into master Oct 16, 2023
12 checks passed
@saberduck saberduck deleted the docker2 branch October 16, 2023 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants