Register 189 -> 191 (R-1232 a reinstalled box's first ep0 copy may come a week late — likely; R-1233 an error line naming nothing); test-night evidence: night jobs, D21 on the box, no copy container left, off-site leg/proof/integrity, controller log, agent journal (sudo noise trimmed), recorder, outside probe, loader logs, Immich per-user counts, night numbers

This commit is contained in:
admin committed 2026-10-23 07:13:52 +02:00
1 parent 5dc17cab03
commit 1cb3e57133
17 files changed
+24124 -2

No files matched your search

@@ -24,3 +24,9 @@ Test night provenance (night 2026-10-22 → 23, Part 4)
with the household's recovery code (07-unlock.txt).
- Recorders: rec.py on the box host (10 s) from 19:47 UTC; outside.sh on DooPlex (10 s /api/health + qemu I/O) from
20:09 UTC.
- LOAD CORRECTION (found 22:14 UTC): the VOID attempt's load2.py (pid 4514, „load2.py 120") was NOT stopped at 19:58 —
the `pkill -f load2.py` ran inside a `bash -c` whose own command line held the pattern and killed its own shell first
(the known pgrep-matches-itself trap). It ran from 19:55:59 to 22:14 UTC beside the planned load: 406 Paperless cycles
(upload / delete / empty trash), Immich and Nextcloud cycles, with the same household credentials. So the box carried
MORE than the planned load for ~2 h. Stopped 22:14 UTC (kill by pid), with its orphaned rclone (pid 51651). Its log:
the loader's /root/void-1955/proof.log (3908 DONE lines).
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,14 @@
/mnt/felhom-drives/belso/backups/primary/immich
/mnt/felhom-drives/belso/backups/primary/immich/compose
/mnt/felhom-drives/belso/backups/primary/immich/compose/.felhom.yml
/mnt/felhom-drives/belso/backups/primary/immich/compose/app.yaml
/mnt/felhom-drives/belso/backups/primary/immich/compose/docker-compose.yml
/mnt/felhom-drives/belso/backups/primary/immich/manifest.json
48K /mnt/felhom-drives/belso/backups/primary/immich
35: volumes:
36- # R-49, operator ruling D21 = B (2026-10-22): the machine-learning model cache (~824 MB, 62 % of the off-site copy)
37- # is never backed up — Immich downloads the models again the first time smart search or face recognition needs
38- # them. Read by controller >= 0.340.0 (backup.volumes); an older controller ignores the key.
39- - name: immich_ml_cache
40- class: excluded
41-
@@ -0,0 +1,14 @@
/mnt/felhom-drives/belso/backups/primary/immich/db-dumps/:
drwxr-xr-x 2 root root 4096 Oct 23 00:30 .
drwxr-xr-x 5 root root 4096 Oct 23 00:33 ..
-rw-r--r-- 1 root root 188841957 Oct 23 00:30 immich-postgres.sql
/mnt/felhom-drives/belso/backups/primary/immich/volume-dumps/:
drwxr-xr-x 2 root root 4096 Oct 23 00:31 .
drwxr-xr-x 5 root root 4096 Oct 23 00:33 ..
-rw-r--r-- 1 root root 415627264 Oct 23 00:31 immich_immich_postgres_data.tar
577M /mnt/felhom-drives/belso/backups/primary/immich
2026/10/23 00:31:10 [INFO] [backup] Stopping immich for safe volume dump
2026/10/23 00:31:13 [INFO] [backup] Volume immich/immich_immich_ml_cache is excluded by the template (a cache the app rebuilds) — not dumped (R-49)
2026/10/23 00:31:23 [INFO] [backup] Volume dump: immich/immich_immich_postgres_data → 396.4 MB
2026/10/23 00:31:23 [INFO] [backup] Restarting immich after volume dump
@@ -0,0 +1 @@
copies left: 0
@@ -0,0 +1,18 @@
2026/10/23 02:15:00 [INFO] [scheduler] Running job: offbox-backup
2026/10/23 02:15:00 [INFO] [offbox] backup run started (8 app(s) toggled)
2026/10/23 02:17:39 [INFO] [offbox] pre-push dump leg completed in 2m39.723s — snapshot pair is coherent
2026/10/23 02:17:55 [INFO] [offbox] backed up paperless-ngx (/mnt/felhom-drives/belso/backups/primary/paperless-ngx, 1 mandatory path(s))
2026/10/23 02:17:57 [INFO] [offbox] backed up radicale (/mnt/sys_drive/felhom-data/backups/primary/radicale, 0 mandatory path(s))
2026/10/23 02:18:00 [INFO] [offbox] backed up vaultwarden (/mnt/sys_drive/felhom-data/backups/primary/vaultwarden, 0 mandatory path(s))
2026/10/23 02:18:03 [INFO] [offbox] backed up actualbudget (/mnt/sys_drive/felhom-data/backups/primary/actualbudget, 0 mandatory path(s))
2026/10/23 02:18:07 [INFO] [offbox] backed up bookstack (/mnt/sys_drive/felhom-data/backups/primary/bookstack, 0 mandatory path(s))
2026/10/23 02:18:44 [INFO] [scheduler] Running job: offsite-credential-retry
2026/10/23 02:18:44 [INFO] [scheduler] Job offsite-credential-retry completed (took 0s)
2026/10/23 02:19:49 [INFO] [offbox] backed up immich (/mnt/felhom-drives/belso/backups/primary/immich, 1 mandatory path(s))
2026/10/23 02:19:52 [INFO] [offbox] backed up mealie (/mnt/sys_drive/felhom-data/backups/primary/mealie, 0 mandatory path(s))
2026/10/23 02:20:13 [INFO] [offbox] backed up nextcloud (/mnt/felhom-drives/belso/backups/primary/nextcloud, 1 mandatory path(s))
2026/10/23 02:20:15 [INFO] [offbox] retention skipped (after-run): no clean-up window now (not due (last window 2026-10-20T17:07:48Z)) — nothing deleted (decision 68)
2026/10/23 02:20:27 [INFO] [offbox] backup OK: 8 app(s) backed up, 80 snapshot(s), 5m15s
2026/10/23 02:20:27 [INFO] [update-leg] started (after-offsite): window 02:30, no step starts at or after 07:30
2026/10/23 02:20:27 [INFO] [update-leg] update leg (after-offsite): done=0 undone=0 held=0 failed=0 skipped=0 in 0s [skipped: ]
2026/10/23 02:20:27 [INFO] [scheduler] Job offbox-backup completed (took 5m27.356s)
@@ -0,0 +1,3 @@
2026/10/23 03:30:00 [INFO] [scheduler] Running job: offsite-proof
2026/10/23 03:30:03 [INFO] [offbox] proof: actualbudget PASSED on snapshot 47244102 in 1.948s — the backup holds what this app should have
2026/10/23 03:30:03 [INFO] [scheduler] Job offsite-proof completed (took 3.697s)
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,91 @@
# 2026-10-23T05:11:55Z Immich DB, read-only SELECT (photos per user)
tester4+odon@felhom.eu|303
tester4+proof10@felhom.eu|303
tester4+proof11@felhom.eu|303
tester4+proof12@felhom.eu|303
tester4+proof13@felhom.eu|303
tester4+proof14@felhom.eu|303
tester4+proof15@felhom.eu|303
tester4+proof16@felhom.eu|303
tester4+proof17@felhom.eu|303
tester4+proof18@felhom.eu|303
tester4+proof19@felhom.eu|303
tester4+proof1@felhom.eu|303
tester4+proof20@felhom.eu|303
tester4+proof21@felhom.eu|303
tester4+proof22@felhom.eu|303
tester4+proof23@felhom.eu|303
tester4+proof24@felhom.eu|303
tester4+proof25@felhom.eu|303
tester4+proof26@felhom.eu|303
tester4+proof27@felhom.eu|303
tester4+proof28@felhom.eu|303
tester4+proof29@felhom.eu|303
tester4+proof2@felhom.eu|303
tester4+proof30@felhom.eu|303
tester4+proof31@felhom.eu|303
tester4+proof32@felhom.eu|303
tester4+proof33@felhom.eu|303
tester4+proof34@felhom.eu|303
tester4+proof35@felhom.eu|303
tester4+proof36@felhom.eu|303
tester4+proof37@felhom.eu|303
tester4+proof38@felhom.eu|303
tester4+proof39@felhom.eu|303
tester4+proof3@felhom.eu|303
tester4+proof40@felhom.eu|303
tester4+proof41@felhom.eu|303
tester4+proof42@felhom.eu|303
tester4+proof43@felhom.eu|303
tester4+proof44@felhom.eu|303
tester4+proof45@felhom.eu|303
tester4+proof46@felhom.eu|303
tester4+proof47@felhom.eu|303
tester4+proof48@felhom.eu|303
tester4+proof49@felhom.eu|303
tester4+proof4@felhom.eu|303
tester4+proof50@felhom.eu|303
tester4+proof51@felhom.eu|303
tester4+proof52@felhom.eu|303
tester4+proof53@felhom.eu|303
tester4+proof54@felhom.eu|303
tester4+proof55@felhom.eu|303
tester4+proof56@felhom.eu|303
tester4+proof57@felhom.eu|303
tester4+proof58@felhom.eu|303
tester4+proof59@felhom.eu|303
tester4+proof5@felhom.eu|303
tester4+proof60@felhom.eu|303
tester4+proof61@felhom.eu|303
tester4+proof62@felhom.eu|303
tester4+proof63@felhom.eu|303
tester4+proof64@felhom.eu|303
tester4+proof65@felhom.eu|303
tester4+proof66@felhom.eu|303
tester4+proof67@felhom.eu|303
tester4+proof68@felhom.eu|303
tester4+proof69@felhom.eu|303
tester4+proof6@felhom.eu|303
tester4+proof70@felhom.eu|303
tester4+proof71@felhom.eu|303
tester4+proof72@felhom.eu|303
tester4+proof73@felhom.eu|303
tester4+proof74@felhom.eu|303
tester4+proof75@felhom.eu|303
tester4+proof76@felhom.eu|303
tester4+proof77@felhom.eu|303
tester4+proof78@felhom.eu|303
tester4+proof79@felhom.eu|303
tester4+proof7@felhom.eu|303
tester4+proof80@felhom.eu|303
tester4+proof81@felhom.eu|303
tester4+proof82@felhom.eu|303
tester4+proof83@felhom.eu|303
tester4+proof84@felhom.eu|303
tester4+proof85@felhom.eu|303
tester4+proof86@felhom.eu|303
tester4+proof87@felhom.eu|303
tester4+proof88@felhom.eu|303
tester4+proof89@felhom.eu|303
tester4+proof8@felhom.eu|303
tester4+proof9@felhom.eu|303
@@ -0,0 +1,9 @@
== load.log
DONE lines 2 ok 358 bad 1
== proof.log
DONE lines 154 ok 30590 bad 89
== void-1955/proof.log
DONE lines 406 ok 4224 bad 17294
19:56:00Z c1 paperless DONE ok 0 bad 53
19:56:00Z c2 paperless DONE ok 0 bad 53
19:56:00Z c3 paperless DONE ok 0 bad 53
@@ -0,0 +1,10 @@
== load 19:56–23:38: rec samples 1349, health probes 1175 / failed 2
worst health gap between answers 23.0 s at 22:03:52; slowest answer 3.348819 s at 21:57:46
worst memory full avg10 host 22.74 % (2026-10-22T22:04:38Z) / guest 24.33 % (2026-10-22T22:04:38Z); samples > 20 %: 2; worst avg60 host 7.96 / guest 8.38
host oom_kill +0; guest memory.events: max +42, oom +0, oom_kill +0, high +758573; guest swap max 2601 MB
non-200: 20:16:34 502
non-200: 22:03:40 502
== night 23:38–05:00: rec samples 1932, health probes 1833 / failed 0
worst health gap between answers 12.0 s at 23:40:18; slowest answer 0.272576 s at 01:30:13
worst memory full avg10 host 28.22 % (2026-10-23T00:32:39Z) / guest 30.62 % (2026-10-23T00:32:39Z); samples > 20 %: 4; worst avg60 host 9.55 / guest 11.36
host oom_kill +0; guest memory.events: max +77845, oom +0, oom_kill +0, high +54086; guest swap max 2211 MB
@@ -0,0 +1,39 @@
#!/usr/bin/env python3
# soakstats.py REC OUTSIDE — the test night's numbers, per window (UTC): load (the uploads) and night (the chain).
import json, sys, datetime as dt
rec, out = sys.argv[1], sys.argv[2]
W = {"load 19:56–23:38": ("2026-10-22T19:56:00Z", "2026-10-22T23:38:00Z"),
"night 23:38–05:00": ("2026-10-22T23:38:00Z", "2026-10-23T05:00:00Z")}
def T(s): return dt.datetime.strptime(s, "%Y-%m-%dT%H:%M:%SZ")
R = [json.loads(l) for l in open(rec) if l.strip()]
O = []
for l in open(out):
p = l.split()
if len(p) < 3: continue
code = p[1].split("=")[1]; lat = float(p[2]) if code != "000" else None
O.append((T(p[0]), code, lat))
for name, (a, b) in W.items():
a, b = T(a), T(b)
rs = [r for r in R if a <= T(r["t"]) < b]
os_ = [o for o in O if a <= o[0] < b]
ok = [o for o in os_ if o[1] == "200"]
gaps = [(ok[i][0] - ok[i-1][0]).total_seconds() for i in range(1, len(ok))]
wg = max(gaps) if gaps else None
wgat = ok[gaps.index(wg)+1][0].strftime("%H:%M:%S") if gaps else ""
slow = max((o for o in ok), key=lambda o: o[2]) if ok else None
hf = [(r["psi"]["memory"]["full"][0], r["t"]) for r in rs]
gf = [((r["guest"].get("psi") or {}).get("full", [0])[0] if isinstance(r["guest"].get("psi"), dict) else 0, r["t"]) for r in rs]
h60 = max((r["psi"]["memory"]["full"][1] for r in rs), default=0)
g60 = max(((r["guest"].get("psi") or {}).get("full", [0, 0])[1] if isinstance(r["guest"].get("psi"), dict) else 0) for r in rs) if rs else 0
over = sum(1 for (v, _), (g, _) in zip(hf, gf) if v > 20 or g > 20)
ev0 = rs[0]["guest"]["events"] if rs else {}; ev1 = rs[-1]["guest"]["events"] if rs else {}
def d(k): return int(ev1.get(k, 0)) - int(ev0.get(k, 0))
ook = int(rs[-1]["vm"].get("oom_kill", 0)) - int(rs[0]["vm"].get("oom_kill", 0)) if rs else 0
sw = max((int(r["guest"]["swap"] or 0) for r in rs), default=0) // (1024*1024)
mh = max(hf, default=(0, "")); mg = max(gf, default=(0, ""))
print(f"== {name}: rec samples {len(rs)}, health probes {len(os_)} / failed {len(os_)-len(ok)}")
print(f" worst health gap between answers {wg} s at {wgat}; slowest answer {slow[2] if slow else None} s at {slow[0].strftime('%H:%M:%S') if slow else ''}")
print(f" worst memory full avg10 host {mh[0]} % ({mh[1]}) / guest {mg[0]} % ({mg[1]}); samples > 20 %: {over}; worst avg60 host {h60} / guest {g60}")
print(f" host oom_kill +{ook}; guest memory.events: max +{d('max')}, oom +{d('oom')}, oom_kill +{d('oom_kill')}, high +{d('high')}; guest swap max {sw} MB")
nf = [o for o in os_ if o[1] != "200"]
for o in nf[:5]: print(" non-200:", o[0].strftime("%H:%M:%S"), o[1])