Repository navigation
chore(sensitive): re-derive memory limits from a month of RSS; Home Assistant to 1536m - #1604
Merged
Merged
Conversation
…ssistant to 1536m Peak and median container_memory_rss over 2026-10-22 -> 11-21 (the TSDB's whole retention). Home Assistant peaked at 816 MiB of its 1g and goes to 1536m; every other limit stands, with its numbers recorded beside it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the Home Assistant memory-limit increase and accompanying documentation updates.
No open issues 🎉
What changed in this PR
Re-derives the sensitive stack’s memory limits from a month of RSS measurements on trinity, increasing Home Assistant’s allowance while retaining all other service limits.
Changes:
- Raises Home Assistant’s
mem_limitandmemswap_limitfrom1gto1536m, preserving its no-swap configuration. - Documents measured memory usage and the rationale for retaining existing limits.
- Updates the build runbook and records the sizing pass in the changelog.
| File | Description |
|---|---|
stacks/sensitive/README.md |
Summarizes the monthly measurements and Home Assistant increase. |
stacks/sensitive/compose.yaml |
Raises Home Assistant’s limits and updates memory-sizing comments. |
docs/runbooks/build-the-sensitive-tier-host.md |
Points future sizing checks to the documented monthly review. |
docs/changelog.md |
Records the measurements and resulting limit decision. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Home Assistant's memory limit on
trinitygoes from 1g to 1536m. Every other limit instacks/sensitivestays the same. The measured month is now written beside each limit incompose.yaml, and in the stack README, the build runbook and the changelog.Why
The stack README asked for the limits to be re-derived from
container_memory_rssoncetrinityhad run a month. These are the peak and median over 2026-10-22 to 11-21, Prometheus's whole 30-day retention, in MiB:Home Assistant was the only service above two-thirds of its limit, and #114's floor is 1.5× the peak. Nothing was cut. Lowering a limit buys little on a 32 GB host, and the high ones are backed by load tests or by memory that RSS doesn't count.
Blast radius
trinityonly. Home Assistant is recreated when converge applies this. Nothing else moves.secrets/*.sops.yamlVerification
python3 scripts/check_docs.py:docs OK../scripts/lint.sh: passed, but 4 checks were skipped and NOT run (yamllint, ansible-lint and ruff have nopipxon trinity, per ADR-0123), so CI's--require-allrun is the real result.make validatewas not run on trinity, for lack of disk space; CI runs it.make validatepassesDeployed to the lab and confirmed working
Docs updated (
docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code