tracker
All repositories: gitoria
2.9 KB
# CL1 — live crash loop (tracker.worldapi.org)Task (Apollo's GO, 2026-10-31): find the cause of the live restart loop and the smallest fix that needs NO code deploy.Tracker's reading (unconfirmed): it is TR7 (Hybriel runtime killed by SIGPIPE when a TLS peer resets during fetch); confirm or refute on live.## Read first- /media/STORAGE/projects/WorldAPI/worldapi-conductor-discontinued/WORKER-RULES.md (fully)- /media/STORAGE/projects/WorldAPI/worldapi-conductor-discontinued/missions/TR7-tracker-exits.md and that folder's LOG.md lines 640–860 (grep TR7, standby)- tracker repo: deploy.sh (standby hand-over), branch tr7-exit (the repro), README sections on jobs/env vars only## Facts so far- byrodin: `ssh -o BatchMode=yes byrodin "docker ..."` works without sudo. Live dir /CONTAINERS/projects/tracker.worldapi.org (docker-compose.yml). Container tracker.worldapi.org (45008): 394 restarts at 15:3x CET, docker exit 0 (dockerd exitCode 141 in TR7), each boot ~165 s with 503 meanwhile. Standby tracker.worldapi.org-standby (45018, profile "standby", jobs off) exited 143 since 2026-10-25.- Hybriel master 6d2ca454 fixes SIGPIPE, but it reaches the tracker only by re-vendor (blocked, not your job).## Do (read-only on byrodin)1. Restart rate now (two samples of RestartCount some minutes apart), `docker logs --since` around the last exits, `docker events` / dockerd journal if readable: exit code and what ran just before (which outgoing fetch: TMDB/TVmaze sync, photo backfill, art backfill?).2. Locally, in your scratch: does the runtime inherit SIG_IGN for SIGPIPE? Test with the tr7-exit repro started under a wrapper that ignores SIGPIPE (e.g. `sh -c "trap '' PIPE; exec <runtime> ..."`), compared with the plain start (expect 141). Also check whether the vendored runtime resets the SIGPIPE disposition itself.3. Options, each with evidence and exact change: (a) compose `command`/entrypoint wrapper that ignores SIGPIPE; (b) env var or compose setting that turns off the triggering job; (c) start the standby again — check first how nginx routes to 45018 (backup upstream?) and whether two processes on the same storage are safe outside deploy.sh's short overlap.4. Change NOTHING on byrodin: no compose edit, no restart, no standby start, no nginx edit. I decide after your report.## Rules- Scratch only: /media/STORAGE/claude-scratch/tracker/CL1/ (worktree via `git worktree add`, logs, builds). Nothing in /tmp, /home/mre or projects/.- Ports: check `ss -ltnp` first; use 8701–8719, Tracker's slot (8700 is caramboleyo's jukebox).- No live table files, no .env copies. Read-only commands on byrodin.- Stop everything you started (processes, servers, curl loops) and list them in the report; remove your worktree with `git worktree remove`.- Budget: Sonnet, about 40 API requests. If it gets longer, stop and report what you have.## Reportreports/CL1-crash-loop.md in the tracker repo (≤60 lines: cause with evidence, options ranked with exact commands/diffs, what you started/stopped), plus a short final message.
Branches
Latest commits
- 498bf644log: CB gates startmre
- 6ea2c6d6log: morning re-measure 11-04mre
- 446290f0log: GC1 livemre
- 8e6aa91dlog: GC1 deploy retrymre
- 87ad2dc1log: GC1 deployingmre
- 53f10fb8Merge branch 'gc1-deploy'mre
- 7fcbf1d2log: GC1 deploy GOmre
- 1fb6664bcompose: TRACKER_QSTATS=1 (GC1 measurement)mre
- 6576c1cdgc1: release the people-view scan lists once the view is builtmre
- 94f8a373gc1: back out the kept episode-id set (no measurable gain on /my/unwatched: 4.69 -> 4.61 GB per 150 loads)mre
- a1a88bd4gc1: search skips the stale-key string while no entry is stale; /my/unwatched asks a kept id set instead of building a key string per episode rowmre
- cd830744gc1: dbSearch: no split / map / list copy per candidate (scores from the stored text, top list touched only when the hit can enter)mre
- 451db7cdgc1: show page and check clicks read the kept watched set instead of building one from a by-value copy of every watchmre
- ddb4127egc1: TRACKER_QSTATS=1 logs queue and cache sizes every 10 s (measurement only)mre
- da60547fstatus: GC1 done, backup bugmre
- e4171021log: GC1 result, backup hard-link bugmre
- f1597214deploy.sh backup: tar --hard-dereference (hot tar stored mpackdb sidecars as hard links to .sessions files)mre
- 6b58571elog: GC windowmre
- 5c8baa1fdeploy lock: hold only around deploy.shmre
- b8dac822log: hybriel#309mre