From 6a7a1f340a5f99decbb4947c9638e6f194ec7af2 Mon Sep 17 00:00:00 2001 From: Gerrrt Date: Thu, 26 Nov 2026 21:45:11 -0800 Subject: [PATCH 1/2] fix(sensitive): give Glance 256m, not 96m 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 --- docs/changelog.md | 8 ++++++++ stacks/sensitive/compose.yaml | 12 +++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index d7c1e29c..a857d376 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -19,6 +19,14 @@ docstring gives: it is a record, not a claim about now. ## 2026-11-27 +- **Glance: its memory ceiling rises from 96m to 256m.** The deploy of + [#1779](https://github.com/Gerrrt/HomeLab/pull/1779) added Listen, which + parses whole podcast feeds. The OOM killer stopped `sensitive-glance` at + 96 MiB on its first load, and Docker restarted it in a loop, so + `start.matrix.elysium` was down until this change was deployed. An + unlimited copy on trinity, with every page loaded at once from cold, peaked + at 157 MiB and settled at 85 MiB. + - **Lab domain: `roles/base` now removes `Panther\unattend.xml`, and `verify.yml` holds every guest to having none.** This corrects the 2026-10-09 #1099 entry, which says `SetupComplete.cmd` deletes the file. It diff --git a/stacks/sensitive/compose.yaml b/stacks/sensitive/compose.yaml index abec7dbf..85d2122f 100644 --- a/stacks/sensitive/compose.yaml +++ b/stacks/sensitive/compose.yaml @@ -1725,9 +1725,11 @@ services: # trinity, 2026-10-19, with exactly these options and every widget loaded # three times: read-only root with no tmpfs at all — `docker diff` showed # only the two mount points — CapEff 0, 13–14 MiB and 9 tasks. Both pages - # of the second version (2026-10-21) loaded the same way held it at 14 MiB; - # 96m leaves room for a large Reddit or Fever answer in flight, and is a - # ceiling for a leak, not a size. + # of the second version (2026-10-21) loaded the same way held it at 14 MiB. + # Listen (2026-11-27) parses whole podcast feeds, each up to Glance's 10 MB + # response cap, and 96m was killed by the OOM killer on the first load: all + # eight pages loaded at once from cold peaked at 157 MiB and settled at 85. + # 256m is that peak with room, and still a ceiling for a leak, not a size. # # TRUST. A static Go binary, so Go's own rules: the image's # /etc/ssl/certs/ca-certificates.crt is still read for the public roots @@ -1756,8 +1758,8 @@ services: image: glanceapp/glance:v0.8.8@sha256:4d7445bc7971836858ffddee5d7501f1efbabb6e694a45b1dde1a789bb1943bb container_name: sensitive-glance user: "${RENDER_UID:?run make render}:${RENDER_GID:?run make render}" - mem_limit: 96m - memswap_limit: 96m + mem_limit: 256m + memswap_limit: 256m cap_drop: [ALL] security_opt: - no-new-privileges:true From fafaa378a4cfd2cc3ca8e9f7a73493086db10a58 Mon Sep 17 00:00:00 2001 From: Gerrrt Date: Thu, 26 Nov 2026 21:52:00 -0800 Subject: [PATCH 2/2] docs(changelog): drop the merge's leftover base marker Co-Authored-By: Claude Opus 5.5 --- docs/changelog.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index e513b32d..b11d12f6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -27,8 +27,6 @@ docstring gives: it is a record, not a claim about now. unlimited copy on trinity, with every page loaded at once from cold, peaked at 157 MiB and settled at 85 MiB. -||||||| 0e3596f8 - - **Lab domain: Domain Admins keep network logon on members, for now.** [ADR-0142](adr/0142-keep-domain-admins-network-logon-on-members-until-the-titan-exercises.md) takes the decision ADR-0140 left open. Read on `titan`: its only local