R-1214: the second-drive copy runs in a 512 MB memory-capped container for /mnt paths (its page cache no longer evicts the apps) — measured on 9202; guarded against a path the daemon sees differently; unreleased
gates / gates (push) Successful in 1m40s

This commit is contained in:
admin committed 2026-10-22 17:47:19 +02:00
1 parent d5f88a2182
commit 03c0a693b8
4 files changed
+177 -1

No files matched your search

+16
View File
@@ -1,3 +1,19 @@
## Unreleased — the second-drive copy no longer squeezes the apps' memory (R-1214), 2026-10-22 night
**MinAgent: 0.158.1** (unchanged). Committed, not released.
- **R-1214.** The night soak's one missed pass line (memory „full" pressure above 20 % for ~3 min in the 03:30
second-drive job on the 8 GB box). Measured on 9202 limited to 4 GB / 4 GB swap with 3.5 GB in use and an active
1.8 GB working set (felhom.eu `audits/night-2026-10-22/P4-R1214/`), a 6 GB rsync: in the controller's process (as
the copy runs today) 6.9–16.8 % „full" (10-s average) and 2.5–5.7 s of full stall; the same rsync in a container
capped at 512 MB 0.9–1.0 % and 0.3–0.4 s. The cause: the copy's page cache is charged to the guest and evicts the
apps' working memory. `rsyncMirror` now runs rsync in a `docker run --rm --memory 512m --memory-swap 512m --network
none` container of the controller's own image (it carries rsync), source read-only — ONLY when both paths are under
`/mnt/`, where the controller and the Docker daemon see the same paths: a path on the controller's own data volume
differs for the daemon, and a capped `--delete` there would mirror an EMPTY folder over the copy. Those paths, a box
whose image cannot be read and a container that cannot start (exit 125) keep the plain in-process rsync; an rsync
failure inside the container is an error. Tests `TestR1214_*` (3, Docker-free seams), red-proved both ways.
## Unreleased — two data-loss candidates fixed (R-1187 c, R-1189 d), 2026-10-22 night
**MinAgent: 0.158.1** (unchanged). Committed, not released (night brief 2026-10-22: no controller release tonight).