Bug 1209972
Summary: | Negative OOMScoreAdjust kills any process in container | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Pavel Raiskup <praiskup> |
Component: | systemd-container | Assignee: | Lukáš Nykrýn <lnykryn> |
Status: | CLOSED CANTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.1 | CC: | jsynacek, linl |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-10-18 11:38:40 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1302191 |
Description
Pavel Raiskup
2015-04-08 14:54:29 UTC
We should ignore OOM score in the container. Playing with "/proc/PID/oom_score_adj": # echo -1 > /proc/1/oom_score_adj bash: echo: write error: Permission denied .. it seems like I'm always able to adjust the score with positive values, with --privileged container I'm also able to set negative score. (In reply to Lukáš Nykrýn from comment #2) > We should ignore OOM score in the container. Should not systemd make the setting of oom_score_adj value non-fatal (with warning possibly) for non-privileged containers? Seems like negative value is denied intentionally.. > Should not systemd make the setting of oom_score_adj value non-fatal (with
> warning possibly) for non-privileged containers? Seems like negative value
> is
> denied intentionally..
Well we should do the same what we are doing for similar variables :)
There is no systemd-container in RHEL-7 anymore. |