SlackBuilds Repository

15.0 > System > earlyoom (1.7)

earlyoom checks the amount of available memory and free swap up to 10 
times a second (less often if there is a lot of free memory). By
default if both are below 10%, it will kill the largest process
(highest oom_score). The percentage value is configurable via command
line arguments.

To enable it, put this line in your rc.local after running chmod +x on

if [ -x /etc/rc.d/rc.earlyoom ];
/etc/rc.d/rc.earlyoom start

and to have it turnoff at shutdown, simply put this in your

if [ -x /etc/rc.d/rc.earlyoom ];
/etc/rc.d/rc.earlyoom stop

A log file for it is kept at /var/log/earlyoom.log
And earlyoom can be configured by modifying /etc/default/earlyoom

Maintained by: Charadon
Keywords: ram,memory,oom
ChangeLog: earlyoom


Source Downloads:
earlyoom-1.7.tar.gz (9c567930c60b2ccdc536951b005d413d)

Download SlackBuild:
earlyoom.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2023 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds