Ubuntu 22.04/24.04 `systemd-oomd` Aggressively Killed IDE or Build Process

Pressure Stall Information (PSI) swap/memory threshold triggered `systemd-oomd` before kernel OOM.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: Ubuntu 22.04/24.04 `systemd-oomd` Aggressively Killed IDE or Build Process Platform: Linux
Common Root Causes:
  • Pressure Stall Information (PSI) swap/memory threshold triggered `systemd-oomd` before kernel OOM.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Add adequate swap space and tune `ManagedOOMMemoryPressureLimit` or `MemoryLow` on critical units.
Safe Diagnostic Command:
journalctl -u systemd-oomd -n 20
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

Pressure Stall Information (PSI) swap/memory threshold triggered `systemd-oomd` before kernel OOM. Recommended diagnostic: `journalctl -u systemd-oomd -n 20`. Remediation: Add adequate swap space and tune `ManagedOOMMemoryPressureLimit` or `MemoryLow` on critical units.

Worked Examples

  • Run `journalctl -u systemd-oomd -n 20` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-systemd-oomd-killed-user-session · Independently verified: 2026-11-25

Related Resources