Clayton Craft ed4088ae33 systemd/postmarketos-base-systemd: oomd: disable swap kill, raise app slice priority
This disables swap-based killing and sets a lower pressure threshold
for user apps in the app slice so they will get killed sooner than other
things (e..g the whole session slice).

Killing based on swap usage was resulting in some sudden kills from
oomd, and upon further investigation is seems like other distros
(ubuntu, fedora) either never enabled this or walked it back due to it
being confusing for users.

The override for app.slice and sets the pressure limit to a value less
than the other slices, in an attempt to fix situations where an app
(e.g. firefox) was creating a ton of pressure and systemd-oomd was
killing the entire UI/session.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7751>
2026-01-17 09:14:13 -08:00
2026-01-13 10:41:44 +00:00
2019-06-26 22:36:15 +02:00
2026-01-11 18:52:28 +01:00
2018-08-23 21:44:22 +02:00

postmarketOS aports repository

This repository contains the APKBUILD files for postmarketOS-specific packages, along with the required patches and scripts, if any.

There are many more packages defined in the Alpine Linux aports on which these packages depend.

Helpful resources:

Git Hooks

You can find some useful git hooks in the .githooks directory. To use them, run the following command after cloning this repository:

git config --local core.hooksPath .githooks
S
Description
No description provided
Readme GPL-3.0
95 MiB
Languages
Shell 95.8%
Python 2.5%
C 1.2%
Batchfile 0.3%
Jinja 0.2%