Re: [opensuse-factory] Deal with low memory situations
2020-01-07 16:21, Michal Hocko rašė:
"if both RAM and swap go below 10% free"
EarlyOOM allows to set your own conditions in /etc/sysconfig/earlyoom , e.g. you can set different percentage (or KB) for RAM and for SWAP, also set whitelist and blacklist of programs.
I would recommend using something based on the PSI e.g oomdhttps://github.com/facebookincubator/oomd
Found such package in OBS: https://build.opensuse.org/package/show/home:AndnoVember:test/oomd -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
2020-01-07 18:51, opensuse.lietuviu.kalba rašė:
2020-01-07 16:21, Michal Hocko rašė:
"if both RAM and swap go below 10% free"
EarlyOOM allows to set your own conditions in /etc/sysconfig/earlyoom , e.g. you can set different percentage (or KB) for RAM and for SWAP, also set whitelist and blacklist of programs.
EarlyOOM now exist in openSUSE Tumbleweed / Factory: https://build.opensuse.org/package/show/openSUSE:Factory/earlyoom Default critical values set to 10% of RAM and 20% of SWAP as you can see "-m 10 -s 20" options in https://build.opensuse.org/package/view_file/openSUSE:Factory/earlyoom/early... If we discuss and we want, we can set lower default critical values, e.g. 4% of RAM and 6% of SWAP. Also, we can change whitelist ("--avoid" option) and blacklist ("--prefer" option). -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
opensuse.lietuviu.kalba