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

Revert "[Telemetry docker] add memory and memory swap limits" #7582

Merged
merged 1 commit into from
May 12, 2021

Conversation

pra-moh
Copy link
Contributor

@pra-moh pra-moh commented May 11, 2021

Reverts #7062

PR #7062 - Dockers memory threshold assignment make device reboot instead of docker restart when memory is reached. This happens because OOM signal goes to kernel and currently kernel makes device reboot based on this change- #2988. If kernel settings are changed to panic_on_oom = 0 and
oom_kill_allocating_task = 1 then it kills docker which gave OOM error but downside is it can kill any other process randomly. Hence we do not want memory threshold setting per docker in #7062

@jleveque
Copy link
Contributor

@pra-moh: Can you please add details to the PR description as to why this is necessary for posterity?

@lguohan lguohan merged commit b64a640 into master May 12, 2021
@lguohan lguohan deleted the revert-7062-addmemorylimit branch May 12, 2021 00:11
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants