Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Bug 1171289 - background pkill command in OOMPlugin #6010

Merged
merged 2 commits into from Jan 20, 2015

Conversation

a13m
Copy link
Contributor

@a13m a13m commented Dec 10, 2014

There are two significant fixes here:

  1. Instead of using ApplicationContainer.kill_procs, which waits for pkill/pgrep process to return, we simply spawn a pkill and detach it, because we don't actually care about its return code, and we cannot wait for it.

  2. The while loop runs when oom_control['under_oom'] is 1, even if the memory usage indicates that the cgroup has fallen below its memsw limit.

@jwhonce
Copy link
Contributor

jwhonce commented Dec 10, 2014

[merge]

@openshift-bot
Copy link

Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/merge_pull_requests/6278/) (Image: devenv_5401)

@openshift-bot
Copy link

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link

Origin Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests/3269/)

@openshift-bot
Copy link

@danmcp
Copy link
Contributor

danmcp commented Jan 19, 2015

@a13m Looks like test_oom_control needs a corresponding change

@openshift-bot
Copy link

Evaluated for origin up to f3a343f

@jwhonce
Copy link
Contributor

jwhonce commented Jan 20, 2015

[merge]

@openshift-bot
Copy link

Evaluated for online up to f3a343f

openshift-bot pushed a commit that referenced this pull request Jan 20, 2015
@openshift-bot openshift-bot merged commit 83f2fd3 into openshift:master Jan 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants