tracker
All repositories: gitoria
4.0 KB
# CL1 — live crash loop (2026-10-31, read-only on byrodin)## Cause: TR7 CONFIRMED (SIGPIPE), not refuted- dockerd journal: every restart `exitCode=141` (21 of 21 in the last 3 h); `docker events` die: `exitCode=141 execDuration=1055` (15:34:24). `docker inspect` shows 0 only because it keeps the restarted state.- Rate: RestartCount 371 at 12:12 -> 395 at 15:34 (24 exits in 3h22m, one cycle ~7.6 min: 12:12, 12:19:34, 12:27:09 ... 15:16:49, then 15:34:24 = one 17.5 min run). Two samples 15:37 and 15:40: 395 / 395 (run started 15:34:24; boot scan 178.6 s, 503 meanwhile).- Before the exits: logs only keep the current run (docker logs is not kept across restarts). Current run: `boot scan: done` -> `guest opened: ... -> new person` (crawler traffic) -> `fetch: TLS client initialized (verify=on)` -> `person fill: ... tmdbMs=...` (TMDB, https). So the outgoing fetch is the on-demand person fill after a guest-star open (lib/people.hl personFillStep via components/person.hl:36), not the daily sync (4:00 UTC), photo or art backfill.- Live process /proc status (byrodin): hybriel pid 3352421 `SigIgn: 0000000000000000`, `SigCgt: 0000000100004402` -> SIGPIPE (bit 0x1000) neither ignored nor caught = default action = kill.- Not read: the previous run's last lines (gone with the restart); dockerd gives only the exit code.## Local test (scratch CL1/rep, port 8701, tr7-exit repro, live bin/hybriel + plugins, TLS server that RSTs)- plain `./hybriel project.hl`: exit **141** (57 fetch errors, then killed).- `sh -c "trap '' PIPE; exec ./hybriel project.hl"`: exit **0**, 300 errors caught, `survived 300`. So the runtime INHERITS SIG_IGN and does not reset it itself (the live SigIgn=0 only because nothing sets it).- Docker's init (docker-init) does not matter: it runs the command; the shell trap is set after it, in the app's own process (exec keeps the disposition). /usr/bin/sh exists in the image.## Options (ranked)1. **(a) compose command wrapper — recommended, no code deploy, only docker-compose.yml + `docker compose up -d tracker` (one restart, ~165 s 503; do it via the normal swap, the standby would cover it).** In service `tracker` (not the standby, optional there too; the x-tracker-common anchor would cover both):`- command: ./bin/hybriel project.hl``+ command: ["sh", "-c", "trap '' PIPE; exec ./bin/hybriel project.hl"]`Caution: deploy.sh never sends docker-compose.yml? It does (not in EXCLUDES) — so the same change must go into the repo's docker-compose.yml too, or the next deploy overwrites it. Evidence: local test above (141 -> survived).2. (b) switch off the trigger by env: NOT possible. The trigger is the guest-open person fill on request, no TRACKER_* variable controls it (project.hl reads only TRACKER_PORT/WATCH/SESSIONS/WARM_*; the job flags TRACKER_SYNC/BACKFILL/... of the standby do not cover it). Needs code.3. (c) standby again: nginx tracker.conf has `upstream tracker_app { server 127.0.0.1:45008; server 127.0.0.1:45018 backup; }` with proxy_next_upstream error/timeout/502/503, so 45018 gets requests only while 45008 is down. Starting it (`docker compose --profile standby up -d tracker-standby`) would cover the 165 s boot gaps (it needs ~40 s to boot, serves while main is down). BUT: it has the same bug (same runtime) and dies on its first TMDB reset; jobs off, but guest-open and person fill are still on; two processes on one storage outside deploy.sh's ~40 s overlap = held for hours: Anton's note (LOG 2026-10-25 11:0x): safe for ~40 s, NOT covered: in-memory caches/counters, cursor snapshots, killed lock holder -> 12 s LockTimeout; and hl:web sessions.hl in memory (ident #28) can overwrite logins. Not recommended as a lasting state.## Started / stopped- Started: node tlssrv.mjs (port 8701, killed, pid file CL1/rep/srv.pid), the two hybriel repro runs (finished), git worktree CL1/wt (removed). Nothing runs now. Scratch left: CL1/rep (copy of bin/plugins/certs, no live data, no .env).- Byrodin: only docker inspect/events/logs/exec of `command -v sh`, journalctl, cat, /proc reads. Nothing changed.
Branches
Latest commits
- d2e6d26bMerge branch 'records-park55' into mainTracker
- f567f025|||PR records: park #55, no Claude workers ruleTracker
- c21aff6bMerge branch 'records-hm55c' into mainTracker
- 9ba258d3|||PR records: HM55b resultTracker
- 64f2d300Merge branch 'records-hm55b2' into mainTracker
- ae3b80dc|||PR records: HM55b briefTracker
- 7ef3cb3bMerge branch 'records-st55' into mainTracker
- fec2e080|||PR records: STATUS HM55Tracker
- 8e174918Merge branch 'records-hm55b' into mainTracker
- b1ecee57|||PR records: HM55 stateTracker
- 28eab08cMerge branch 'records-hm55' into mainTracker
- d3edaa05|||PR records: HM55 start, PROCEDURES.mdTracker
- 3059f86cMerge branch 'records-design-rule' into mainTracker
- 421a4809|||PR records: his-design rule (Apollo 2026-11-13)Tracker
- d1390692Merge branch 'records-dp75b' into mainTracker
- a4d1a7d2|||PR records: later steps checked, branch auditTracker
- e070e16fMerge branch 'records-dp75' into mainTracker
- 642b4fa8|||PR records: DP75 day62 live, AP62 briefTracker
- bfc4ea4dMerge branch 'ap62' into mainTracker
- 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker