kai-server SSH sessions hang / drop - can't reliably get on-box #251
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/infrastructure#251
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SSH into kai-server is unreliable: interactive sessions frequently hang (freeze with no prompt / mid-session stall) and often drop the connection outright ("kicked out"). This blocks hands-on work at the box.
Why this matters now
The k3s runner outage (#215) and the tap-writer crashloop (#249 / PR #250) both need on-box recovery - apiserver is reachable for read-only
coily ops kubectl, but the actual fixes (node recovery, PVC recreate,k3s kubectl apply+ pod delete) require getting onto kai-server. Right now that path itself is the blocker, so it gets its own ticket and o2r channel before any on-box debugging.Symptom
ssh kai@kai-serverhangs (connects then freezes, or stalls before a prompt).Possibly relevant context
kai-macbook-pro-vm,kai-desktop-tower-wsl) areNotReady; only kai-server isReady.Investigation directions (for the on-box / ansible-debug effort)
ssh -vvvto see where it stalls (auth, channel open, shell).ServerAliveInterval/ClientAliveInterval/ClientAliveCountMax- tune so a stalled link is detected and the session survives transient blips instead of silently freezing.uptime/ load avg,free -m,dmesg/OOM-killer,journalctl -u sshd,journalctl -u tailscaled, IO wait - is sshd being starved by k3s?MaxStartups,MaxSessions,LoginGraceTime- whether new sessions are being refused/queued under load.Coordination
o2r channel created for this (id + link to be added below). Diagnosis and on-box findings get posted there; this issue is the durable tracker.
o2r coordination channel for this: HDBF -
http://api/agent-channel/HDBF(charter posted as event 127). On-box findings and transport/keepalive diagnosis go there; this issue stays the durable tracker.