Patronage & Donations
If you use the Slackware UK services on a regular basis, and would like to contribute to running costs, make a continuing patronage (and receive special benefits), or make a one off PayPal payment, please use one of the following buttons:
Patreon Logo
For regular monthly donations
PayPal Logo
For one time donations
All donations will be gratefully received - thank you!
Toggle theme:Toggle Theme Button
Content of directory's README

earlyoom (the early out-of-memory daemon)

The Linux kernel's OOM-killer generally has a bad reputation among
Linux users. One may have to sit in front of an unresponsive system,
listening to the grinding disk for minutes, and press the reset
button to quickly get back to what one was doing after running out of
patience.

earlyoom is a userspace daemon that can be triggered earlier than the
kernel's OOM-killer. It 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
/etc/rc.d/rc.earlyoom:

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

...and to have it exit at shutdown, put this in your rc.local_shutdown:

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

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

Icon  Name                    Last modified      Size  Description
[<--] Parent Directory - [!!!] README 2023-09-02 12:16 1.1K [SPT] doinst.sh 2023-09-02 12:16 469 [TXT] earlyoom.8 2025-09-27 04:01 10K [SPT] earlyoom.SlackBuild 2025-09-27 04:01 4.0K [   ] earlyoom.info 2025-09-27 04:01 307 [   ] rc.earlyoom 2023-09-02 12:16 1.5K [TXT] slack-desc 2023-09-02 12:16 1.0K
Server (facade0) bandwidth utilisation
0  Bandwidth graph measuring   0.09 Gbit/s  10 Gbit/s