You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
proxy handoff on a CPU-starved node delays new connections ~1.4 s — 3 mesh_dns-tier probe timeouts in 8 h (Envoy, not DNS; #1093 residual) #1240
sixth proxy roll (09:01:41Z); successor 09:01:46.8, parent exit 09:02:06.3
09:01:57.49Z
w05
same
None is in an agent roll or the TRIPLE (10-03 had 14 in the w05 TRIPLE; that window is now clean with the 041 standby agent). On w05 at 09:01:43–09:02:00Z the supervisor sampler reported every Envoy worker [starved], node busy 84–100 %; w05's aether_supervisor_envoy_thread_stalls_total is +51 % vs the 10-03 soak (10,807 vs 7,140) while w04 halved.
Access-log start times sit 1.6–1.75 s after the probe began (DC, code 0), which suggests the forwarded DNS leg (mesh-dns → kube-dns) used most of the prober's 2 s budget and the deadline then cut the request — inferred, not measured.
To establish: where the 1.6 s goes (mesh-dns forward latency vs kube-dns vs scheduling), and whether this is a residual of #1093's handoff CPU oversubscription on w05.
Investigated (read-only): the time went to Envoy at the handoff, not to DNS. The guess in the description is wrong.
Measured
Mesh-DNS forward path over the whole 8 h, fleet-wide: no forward errors, forward_conn_recycles_total{reason="error"} = 0, fallback dials = 0. Server-side forwarded latency (includes the kube-dns round trip) was ≤ 0.5 s in both failure windows; CoreDNS did not roll.
Authoritative names (answered from mesh-dns memory, no forward) had the same slow tail as forwarded ones on w05 at 09:01–09:03Z (22/600 vs 24/598 probes > 1 s), so the forward leg is not what differs.
Access logs, ordered by downstream source port (assigned at connect(), i.e. after DNS returned): on w04 Envoy started no stream for either DNS target for 1.41 s (14.381 → 15.795); the failed probe had connected within ~0.4 s and its stream started at 16.284, then waited 411 ms on an unanswered upstream. On w05 the failed probe had connected within ~0.55 s, got its stream 1.1 s later, then 536 ms unanswered upstream. Probes that connected after the failed ones were served before them.
w05's 09:01–09:03Z bucket is the worst of the soak (the only one where liveness exceeded 1 s).
Inferred: port order = connect order; the Envoy delay is accept/read starvation while two Envoy generations overlap on a saturated node — #1093's mechanism. There is no per-connection accept timestamp to prove it. The third failure (09:01:57.49Z) has no access-log row.
Why the DNS tier and not liveness: these probes open a fresh TCP connection to Envoy and a fresh upstream mTLS connection every time; liveness reuses a keep-alive connection.
Conclusion: no mesh-dns fix applies; the lever is handoff CPU headroom on w05 (the remaining #1093 levers). Side findings filed separately.
changed the title [-]mesh-dns: forwarded lookups time out at proxy handoff on a CPU-starved node (3 in 8 h)[/-][+]proxy handoff on a CPU-starved node delays new connections ~1.4 s — 3 mesh_dns-tier probe timeouts in 8 h (Envoy, not DNS; #1093 residual)[/+]on Oct 5, 2026
Closing: the data-plane side is not actionable — the timeouts are Envoy accept/read starvation during the hot-restart overlap on worker-05 (#1093's mechanism), not DNS, and the fix is node headroom. The lever chosen (2026-10-05) is to move the Pyroscope server off worker-05: o11y/pyroscope-0 is pinned there by its openebs-hostpath PVC (~31 GB, the cluster's top CPU pod at 311–351m). Plan: ~/claude/proposals/pyroscope-storage-to-nas.md — recommendation is NOT the NAS (no CSI driver on the cluster since k8s-talos-main #139/#140; RAIDZ2 rebuild pending) but a PVC recreate on w03/w04 (after talosctl df on both), copy with a sender/receiver pod pair (uid 10001), affinity away from w05 designed together with the existing stateful topology-spread, a retention setting, and the pyroscope-debuginfo/targets.tsv fix first (image column agent → proxy-supervisor for proxy-ready). Tracked in the GitOps repo; the next soak after the move re-measures w05's handoff brackets and the mesh_dns-tier timeouts.
Activity
bpalermo commentedon Oct 5, 2026
Investigated (read-only): the time went to Envoy at the handoff, not to DNS. The guess in the description is wrong.
Measured
forward_conn_recycles_total{reason="error"}= 0, fallback dials = 0. Server-side forwarded latency (includes the kube-dns round trip) was ≤ 0.5 s in both failure windows; CoreDNS did not roll.connect(), i.e. after DNS returned): on w04 Envoy started no stream for either DNS target for 1.41 s (14.381 → 15.795); the failed probe had connected within ~0.4 s and its stream started at 16.284, then waited 411 ms on an unanswered upstream. On w05 the failed probe had connected within ~0.55 s, got its stream 1.1 s later, then 536 ms unanswered upstream. Probes that connected after the failed ones were served before them.Inferred: port order = connect order; the Envoy delay is accept/read starvation while two Envoy generations overlap on a saturated node — #1093's mechanism. There is no per-connection accept timestamp to prove it. The third failure (09:01:57.49Z) has no access-log row.
Why the DNS tier and not liveness: these probes open a fresh TCP connection to Envoy and a fresh upstream mTLS connection every time; liveness reuses a keep-alive connection.
Conclusion: no mesh-dns fix applies; the lever is handoff CPU headroom on w05 (the remaining #1093 levers). Side findings filed separately.
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
[-]mesh-dns: forwarded lookups time out at proxy handoff on a CPU-starved node (3 in 8 h)[/-][+]proxy handoff on a CPU-starved node delays new connections ~1.4 s — 3 mesh_dns-tier probe timeouts in 8 h (Envoy, not DNS; #1093 residual)[/+]bpalermo commentedon Oct 5, 2026
Closing: the data-plane side is not actionable — the timeouts are Envoy accept/read starvation during the hot-restart overlap on worker-05 (#1093's mechanism), not DNS, and the fix is node headroom. The lever chosen (2026-10-05) is to move the Pyroscope server off worker-05:
o11y/pyroscope-0is pinned there by itsopenebs-hostpathPVC (~31 GB, the cluster's top CPU pod at 311–351m). Plan:~/claude/proposals/pyroscope-storage-to-nas.md— recommendation is NOT the NAS (no CSI driver on the cluster since k8s-talos-main #139/#140; RAIDZ2 rebuild pending) but a PVC recreate on w03/w04 (aftertalosctl dfon both), copy with a sender/receiver pod pair (uid 10001),affinityaway from w05 designed together with the existingstatefultopology-spread, a retention setting, and thepyroscope-debuginfo/targets.tsvfix first (image columnagent→proxy-supervisorforproxy-ready). Tracked in the GitOps repo; the next soak after the move re-measures w05's handoff brackets and the mesh_dns-tier timeouts.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr