Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): avoid uresourced loops in Linux service units #25185

Openmaria-rckswants to merge 3 commits intomain fromrefs/pull/25185/headopened View on GitHub

maria-rckscommented

Linux service units emit ManagedOOMPreference=avoid, which triggers the reported uresourced 0.5.4 CPU loop on affected Fedora/GNOME systems (#20931).

The directive and its obsolete comment are removed, restoring systemd's default OOM preference. OOMPolicy=continue, the CPU and IO weights, and agent isolation stay. Existing installations pick up the new unit on the next t3 service install.

The existing install test failed on main because the written unit contained ManagedOOMPreference= and passes with the fix; the rendered unit also passed systemd-analyze verify. Unverified: live Fedora/GNOME/uresourced behavior and memory-pressure handling. Human review of the changed Linux service default is still needed.

Replaces https://git.cafe/pingdotgg/t3code/pulls/20968, with thanks to @nateEc for the original implementation.

Built with GPT-6.1-Sol in the Codex harness on T3 Code, reviewed by Claude Opus 5.5 in Claude Code.

Fixes pingdotgg/t3code#20931

    1. Pushedd816ac0

    2. The automated pipeline stopped on this pull request and will not merge it:

      the fix is written and reviewed, but proving it needs something no worker has:

      • Permanent blocker: reproducing the reported feedback loop requires Fedora 44 Workstation/GNOME or KDE Plasma with uresourced 0.5.4 running; no such environment is available in the provided worker setup. Service start, daemon-reload, repeated SetUnitProperties calls, and sustained CPU behavior remain unverified on both commits.

      It stays open for a person to finish or close.

    3. juliusmarminge added labelstakeover:blocked

    4. juliusmarminge removed labelstakeover:in-progress

Sign in to join this conversation.