diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-10-10 14:22:09 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-10-10 14:22:09 +0200 |
| commit | adedaf77a18f3d03d695723c86fc083c3551ff5b (patch) | |
| tree | 667c3377dd59fc5e23d95d0978282fd4eb4831af /executor/executor_fuchsia.h | |
| parent | 1b410967ce37d5548e4115cbf0b7704c48e8db8e (diff) | |
executor: tune memcg container logic
The current memcg container seems to lead to lots of hangs/stalls.
Presumably the problem is with oom_score_adj and KASAN.
Executor process tree eats all memory and then the leaf process is killed
but the memory is not returned to memcg due to KASAN quarantine;
and the parent processes are protected from killing with oom_score_adj=-1000.
As the result the kernel locks up.
1. Don't use oom_score_adj=-1000. Instead bump leaf process score to 1000 (kill always).
2. Increase size of memcg to be larger than expected KASAN quarantine size.
Diffstat (limited to 'executor/executor_fuchsia.h')
0 files changed, 0 insertions, 0 deletions
