As Fedora Workstation did in F32, install earlyoom package, and enable it by default. If RAM goes below 4% free and swap below 10% free, earlyoom issues SIGTERM to the process with the largest oom_score. If RAM goes below 2% free and swap goes below 5% free, earlyoom issues SIGKILL to the process with the largest oom_score. The idea is to recover from out of memory situations sooner, rather than the typical complete system hang in which the user has no other choice but to force power off.
+1
KDE mailing list discussion: https://lists.fedoraproject.org/archives/list/kde@lists.fedoraproject.org/thread/E3SWQV4YCUHQYJFJ37ZGACLYJ3ZQYKHH/
The change proposal has been updated to correct the thresholds to match what actually ships in the earlyoom package. (From 10/10 RAM/swap to 5/10 RAM/swap for TERM and from 5/5 RAM/swap to 2/5 RAM/swap for KILL)
earlyoom
APPROVED (+6,0,-0)
Metadata Update from @churchyard: - Issue tagged with: pending announcement
Metadata Update from @zbyszek: - Issue untagged with: pending announcement - Issue close_status updated to: Accepted - Issue status updated to: Closed (was: Open)
Metadata Update from @bcotton: - Issue untagged with: F33 - Issue set to the milestone: Fedora 33
Login to comment on this ticket.