Jump to content

Nohang

From Official NixOS Wiki
Revision as of 09:35, 19 September 2026 by Onny (talk | contribs) (Initial page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Nohang is a daemon for Linux which can prevent out of memory (OOM) conditions of a running system. It keeps responsiveness by sending SIGTERM events to target processes in low memory state and SIGKILL if the process doesn't respond.

Setup

To enable nohang, simply add following line to your system configuration.

services.nohang.enable = true;