[LTP] [PATCH v2] Taunt OOM killer in fork12 setup()

Jan Stancek jstancek@redhat.com
Fri Feb 7 15:56:10 CET 2020


----- Original Message -----
> On a system with low memory, fork12 can trigger OOM killer before it hits
> any fork() limits. The OOM killer might accidentally kill e.g. the parent
> shell and external testing tools will assume the test failed.
> 
> Set high oom_score_adj on the children of the main fork12 process so that
> the OOM killer focuses on them.
> 
> Signed-off-by: Martin Doucha <mdoucha@suse.cz>

Acked-by: Jan Stancek <jstancek@redhat.com>



More information about the ltp mailing list