Skip to content

systemd memory limits#8

Merged
expede merged 2 commits into
mainfrom
systemd-limits
Jun 4, 2026
Merged

systemd memory limits#8
expede merged 2 commits into
mainfrom
systemd-limits

Conversation

@expede

@expede expede commented Jun 4, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 4, 2026 19:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR tightens memory management for the subduction systemd service and adds host-level protections to avoid losing administrative access under extreme memory pressure.

Changes:

  • Add MemoryHigh / MemoryMax accounting + limits for subduction.service.
  • Configure system slice memory reservation (MemoryMin) to protect core system services (e.g., sshd).
  • Enable systemd-oomd and add zramSwap to improve early-OOM handling and absorb short spikes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread configuration.nix Outdated
Environment = "RUST_LOG=subduction=info";

MemoryAccounting = true;
MemoryHigh = "6.5G";

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@expede expede merged commit 501d7be into main Jun 4, 2026
1 check passed
@expede expede deleted the systemd-limits branch June 4, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants