Front door + Files steady memory were provisional estimates (1536 + 2048 MiB) and refused Files on the 4 GB gateway every drive co-hosts it on — measure them (640 + 768 MiB) #1479

Closed
opened 2026-09-15 02:20:45 +00:00 by ben · 0 comments
Owner

Symptom

Founding's Infrastructure bench refuses Files & documents beside the front door on a 4 GB gateway: the front door was estimated at 1536 MiB and Files at 2048 MiB, summing to 3.5 GB against the 3.2 GB steady ceiling (80% of 4 GB, DDR 0146). Yet every phase-2/3/4 rehearsal drive and every regression chain since co-hosts Files on an s-2vcpu-4gb droplet and goes green.

Measured (2026-09-14, on the live rented gateway 170.64.184.29 from droplet drive 20260914T205845Z, plus four founded gateways' evidence dumps)

What Anonymous memory (cgroup memory.stat, 15 s × 3 min) Whole box free -m used
Founded gateway at rest (Caddy, kanidm, control plane, netbird ×4, coturn, acme-dns, agent reporter) ~130 MiB 412–569 MiB across two droplets + two 4 GB local-guest VMs
Files idle (php-fpm pool, PostgreSQL 17, redis, nginx) ~190 MiB +~450 MiB over the bare gateway (≈ 900 MiB total)
Files under 8 concurrent WebDAV clients saturating both vCPUs (upload + download + PROPFIND, 90 s, load 6.6) peak ~660 MiB peak 1403 MiB, never below 2.5 GB available
Files after load ~225 MiB 920 MiB

Both old figures were the provisional numbers from #51; only the six catalogue ports had been measured (#1170).

Fix

  • internal/catalogue: front door steadyMB(1536) → 640 (whole-box baseline, OS included); Files steadyMB(2048) → 768 (holds the measured peak with headroom, the PeerTube-under-transcode precedent). Floors unchanged.
  • Golden serviceCatalogue.golden.json regenerated; the P4-S2 fake seam + tests re-pinned; two new guards pin that the pair fits 80% of the 4 GB floor (catalogue) and that save-placement accepts Files on a 4 GB gateway (founding).
  • ADR 0030 amended with the measurement; GOTCHAS entry.

Not changed: the bench's hard refusal posture. ADR 0243 (2026-09-14) re-affirmed the seam refuses a plan over the 80% ceiling; with measured figures a 4 GB gateway fits the pair with ~1.8 GB of budget left.

## Symptom Founding's Infrastructure bench refuses **Files & documents** beside the front door on a **4 GB gateway**: the front door was estimated at 1536 MiB and Files at 2048 MiB, summing to 3.5 GB against the 3.2 GB steady ceiling (80% of 4 GB, DDR 0146). Yet every phase-2/3/4 rehearsal drive and every regression chain since co-hosts Files on an `s-2vcpu-4gb` droplet and goes green. ## Measured (2026-09-14, on the live rented gateway `170.64.184.29` from droplet drive `20260914T205845Z`, plus four founded gateways' evidence dumps) | What | Anonymous memory (cgroup `memory.stat`, 15 s × 3 min) | Whole box `free -m` used | |---|---|---| | Founded gateway at rest (Caddy, kanidm, control plane, netbird ×4, coturn, acme-dns, agent reporter) | ~130 MiB | 412–569 MiB across two droplets + two 4 GB local-guest VMs | | Files idle (php-fpm pool, PostgreSQL 17, redis, nginx) | ~190 MiB | +~450 MiB over the bare gateway (≈ 900 MiB total) | | Files under 8 concurrent WebDAV clients saturating both vCPUs (upload + download + PROPFIND, 90 s, load 6.6) | peak ~660 MiB | peak 1403 MiB, never below 2.5 GB available | | Files after load | ~225 MiB | 920 MiB | Both old figures were the provisional numbers from #51; only the six catalogue ports had been measured (#1170). ## Fix - `internal/catalogue`: front door `steadyMB(1536)` → **640** (whole-box baseline, OS included); Files `steadyMB(2048)` → **768** (holds the measured peak with headroom, the PeerTube-under-transcode precedent). Floors unchanged. - Golden `serviceCatalogue.golden.json` regenerated; the P4-S2 fake seam + tests re-pinned; two new guards pin that the pair fits 80% of the 4 GB floor (catalogue) and that `save-placement` accepts Files on a 4 GB gateway (founding). - ADR 0030 amended with the measurement; GOTCHAS entry. Not changed: the bench's hard refusal posture. ADR 0243 (2026-09-14) re-affirmed the seam refuses a plan over the 80% ceiling; with measured figures a 4 GB gateway fits the pair with ~1.8 GB of budget left.
ben closed this issue 2026-09-15 02:33:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1479
No description provided.