From 398a84c41106b011a6753cbe2cbd4db14435134b Mon Sep 17 00:00:00 2001 From: Marek Suchánek Date: Apr 12 2020 22:08:44 +0000 Subject: Add a RN for earlyoom; Issue #447 --- diff --git a/modules/release-notes/pages/sysadmin/Kernel.adoc b/modules/release-notes/pages/sysadmin/Kernel.adoc index a5f7301..95a9d48 100644 --- a/modules/release-notes/pages/sysadmin/Kernel.adoc +++ b/modules/release-notes/pages/sysadmin/Kernel.adoc @@ -3,3 +3,19 @@ include::{partialsdir}/entities.adoc[] [[sect-kernel]] = Kernel + +== Quicker recovery from low-memory situations in Fedora Workstation + +// TODO: Revisit the section placement. This RN isn't really about the kernel -- the change was made in user space, not kernel space. However, it is sufficiently low-level, affecting memory management. + +The `earlyoom` service is now enabled by default in Fedora Workstation. + +The `earlyoom` service monitors system memory usage. If free memory falls below a set limit, `earlyoom` terminates an appropriate process to free up memory. As a result, the system does not become unresponsive for long periods of time in low-memory situations. + +The following is the default `earlyoom` configuration: + +1. If both RAM and swap go below 10% free, `earlyoom` sends the `SIGTERM` signal to the process with the largest `oom_score`. +2. If both RAM and swap go below 5% free, `earlyoom` sends the `SIGKILL` signal to the process with the largest `oom_score`. + +For more information, see the `earlyoom` man page. +