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

Cap docker resource cgroup's limit #9881

Closed
dchen1107 opened this issue Jun 16, 2015 · 1 comment
Closed

Cap docker resource cgroup's limit #9881

dchen1107 opened this issue Jun 16, 2015 · 1 comment
Assignees
Labels
priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/node Categorizes an issue or PR as relevant to SIG Node.
Milestone

Comments

@dchen1107
Copy link
Member

Forked from #9788 (comment):

The only unrecovered node is caused by docker memory leakage. It is a known issue since docker 1.3.0, might even earlier version (moby/moby#9139). Docker 1.7.0-rcX (the one I am currently validating) should have a fix for it. Once you restart docker, the problem should be gone, and the node should be recovered. I saw a similar problem before. On each node, there is a monit healthchecking docker daemon process periodically, in most cases, the docker in such bad state will be restarted by monit.

Before we have such fix from docker 1.7, we can set docker's hard memory limit to 70% of node capacity since we already put docker into a cgroup with unlimited limit today. This could be a temporary workaround recovering node from bad state.

Related docker issue: moby/moby#9139

cc/ @lavalamp @bprashanth

@dchen1107 dchen1107 added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/node Categorizes an issue or PR as relevant to SIG Node. labels Jun 16, 2015
@dchen1107 dchen1107 self-assigned this Jun 16, 2015
@dchen1107 dchen1107 added this to the v1.0 milestone Jun 16, 2015
@dchen1107
Copy link
Member Author

cc/ @vmarmol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/node Categorizes an issue or PR as relevant to SIG Node.
Projects
None yet
Development

No branches or pull requests

1 participant