Skip to content

fix(sensitive): give Glance 256m, not 96m - #1786

Merged
Gerrrt merged 3 commits into
mainfrom
glance/memory
Nov 27, 2026
Merged

Gerrrt merged 3 commits into
mainfrom
glance/memory

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 27, 2026

Copy link
Copy Markdown
Owner

What changed

Glance's memory ceiling on trinity rises from 96m to 256m (mem_limit and memswap_limit). The compose comment and the changelog record why.

Why

The deploy of #1779 added Listen, which parses whole podcast feeds. Each feed can be up to Glance's 10 MB response cap. The kernel's OOM killer stopped sensitive-glance at 96 MiB on its first load, and the container is now in a restart loop, so start.matrix.elysium is down. An unlimited copy on trinity, with all eight pages loaded at once from cold, peaked at 157 MiB and settled at 85 MiB.

Blast radius

The sensitive-glance container only. trinity has about 25 GB of memory available.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

  • The OOM kill is in trinity's kernel log: Memory cgroup out of memory: Killed process … (glance), anon-rss 96264kB. docker inspect shows restarts=3.
  • The peak was measured from the container's cgroup memory.peak with no limit: 164274176 bytes. memory.current afterwards was 89169920.
  • make validate passes: left to CI, since this is a one-value compose change
  • Deployed to the lab and confirmed working: after the merge
  • Docs updated (docs/, service README, or docs/roadmap.md)

🤖 Generated with Claude Code

Gerrrt and others added 3 commits November 26, 2026 21:45
Listen parses whole podcast feeds, and the deploy of #1779 was OOM-killed
at 96 MiB and restart-looped. Measured peak 157 MiB from cold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt merged commit ac5826b into main Nov 27, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the glance/memory branch November 27, 2026 06:08
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.

1 participant