Bug 1004886

Summary: memory.move_charge_at_immigrate should be set to 1
Product: OpenShift Online Reporter: Andy Grimm <agrimm>
Component: ContainersAssignee: Rob Millner <rmillner>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: bmeng, jgoulding, mfisher, twiest
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-19 16:49:26 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:

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.