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

GOLANG and cgroup limits #355

Closed
jefflill opened this issue Sep 28, 2018 · 1 comment
Closed

GOLANG and cgroup limits #355

jefflill opened this issue Sep 28, 2018 · 1 comment

Comments

@jefflill
Copy link
Collaborator

Does GOLANG honor cgroup limits?

@jefflill
Copy link
Collaborator Author

This issue is still open after a couple years (as of 9/2018). It looks like golang 1.9 does try to honor the cgroup memory limits but there's still a debate about what the application can do about handling OOM failures.

golang/go#16843

From the hive perspective of limiting container memory, this does look golang apps will be constrained but that services will need to specify how much to allocate to the heap and how much to allocate as buffer for other stuff, like stacks, etc.

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

No branches or pull requests

1 participant