diff --git a/tools/process_registry.py b/tools/process_registry.py index 474f97e39e..2df6fe1eba 100644 --- a/tools/process_registry.py +++ b/tools/process_registry.py @@ -126,7 +126,8 @@ def _worker_memory_max_bytes() -> int: def _systemd_scope_argv(binary: str, unit_name: str, *argv: str) -> List[str]: """``systemd-run --user --scope`` argv shared by the probe and real spawns. - ``--collect`` self-cleans the scope after exit; ``--unit`` names it for systemctl.""" + ``--collect`` self-cleans the scope after exit; ``--unit`` names it for systemctl. + No ``OOMPolicy=``: transient scopes reject it on systemd <253 (#102486).""" return [ binary, "--user", "--scope", "--quiet", "--unit", unit_name, "--collect", "--property", "MemoryAccounting=yes",