Add OomScoreAdj#16277
Conversation
427de1e to
2bc25ae
Compare
91e1cc3 to
0a49ad8
Compare
There was a problem hiding this comment.
Should this description contain the accepted range (-1000, 1000)?
acc21cc to
909e519
Compare
899b7af to
dfeacbf
Compare
|
Design OK |
|
Ping @runcom for rebase before code review! |
dfeacbf to
4ff44c7
Compare
|
@icecrime rebased |
|
@runcom looks like the |
There was a problem hiding this comment.
Can you use the same text here as well?
|
@moxiegirl I see we're inconsistent with describing the options; |
|
@thaJeztah Yes, I noticed that. I think that is a good idea but the problem is beyond the scope of this PR. It is really something we should do in another PR. WDYT? |
|
@moxiegirl I think so far we used |
|
Ah, I see. Yes, you are right |
74109a7 to
4a87290
Compare
|
@moxiegirl @thaJeztah updated (I'll leave what's not consistent to a follow up PR as you agreed on) |
|
@runcom looks like I overlooked that changes to the man-pages are missing, can you add the flag to the man-pages for |
4a87290 to
1ba3ee5
Compare
|
@thaJeztah added |
|
Thanks! And thanks for being patient with us 👍 LGTM ping @moxiegirl for a final look |
libcontainer v0.0.4 introduces setting `/proc/self/oom_score_adj` to better tune oom killing preferences for container process. This patch simply integrates OomScoreAdj libcontainer's config option and adjust the cli with this new option. Signed-off-by: Antonio Murdaca <[email protected]> Signed-off-by: Antonio Murdaca <[email protected]>
1ba3ee5 to
d3af7f2
Compare
|
ping @moxiegirl O:) |
|
@runcom LGTM to you! :-D Thank you. @thaJeztah for the merge |
libcontainer v0.0.4 introduces setting
/proc/self/oom_score_adjtobetter tune oom killing preferences for container process. This patch
simply integrates OomScoreAdj libcontainer's config option and adjust
the cli with this new option.
close #13116
TODOs:
Signed-off-by: Antonio Murdaca [email protected]