Bug 1004886 - memory.move_charge_at_immigrate should be set to 1
Summary: memory.move_charge_at_immigrate should be set to 1
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-05 16:43 UTC by Andy Grimm
Modified: 2016-11-08 03:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-19 16:49:26 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Andy Grimm 2013-09-05 16:43:00 UTC
Currently, memory.move_charge_at_immigrate is set to 0 in the cgroup configuration of OpenShift Online nodes.  This means that when a process is moved into a gear's cgroup after its initial execution, the memory usage up to that point is not charged to the cgroup.

See Section 8 of https://www.kernel.org/doc/Documentation/cgroups/memory.txt

Comment 1 Rob Millner 2013-09-05 19:21:45 UTC
Pull request:
https://github.com/openshift/origin-server/pull/3555

Comment 2 openshift-github-bot 2013-09-05 21:15:37 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/67439510c97799c8d88e080009f49fcc4a7b27bd
Bug 1004886 - set memory.move_charge_at_immigrate

Comment 3 openshift-github-bot 2013-09-05 21:15:38 UTC
Commit pushed to master at https://github.com/openshift/li

https://github.com/openshift/li/commit/f7db910abca4bc3ff9f240fdad0a068e893eb233
Bug 1004886 - set memory.move_charge_at_immigrate

Comment 4 Meng Bo 2013-09-06 09:32:09 UTC
[jbeap1-bmengdev.dev.rhcloud.com 52299a830b193ec283000003]\> oo-cgroup-read memory.move_charge_at_immigrate
1


Checked on devenv_3751, issue has been fixed.


Note You need to log in before you can comment on or make changes to this bug.