View Single Post
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#59
Originally Posted by salyavin View Post
Had one app close today and gave up and did
"echo "0,0,0,0,0" > /sys/module/lowmemorykiller/parameters/minfree"
from https://together.jolla.com/question/...#comment-73891
Has anyone figured out how to properly kill/disable lowmemorykiller? Neither tweaking overcommit_ratio, nor this minfree trick stops the lowmemorykiller from killing cc1plus when compiling on device.

Ok, from my testing this seems to kill oom-killer for good:
Code:
echo '9999' > /sys/module/lowmemorykiller/parameters/adj
echo '1' > /sys/module/lowmemorykiller/parameters/minfree
your process will die if it eats all swap+ram, but other apps stay alive
thanks to nieldk

Last edited by szopin; 2015-07-14 at 18:35.
 

The Following 5 Users Say Thank You to szopin For This Useful Post: