RemoteStateActor 中 pending_open_paths 的无限增长 -> 多 GB 分配 / 空闲连接内存耗尽 + 修复
作者: technologiespro创建于 2026年9月5日更新于 2026年9月5日
- Open ≥ 2 connections (with different ALPNs) from one endpoint to the same remote and keep them idle for a long time so that path ids / remote CIDs get exhausted on at least one of them (open_path_ensure starts returning MaxPathIdReached / RemoteCidsExhausted).
- Trigger address changes (relay/direct flapping, handle_address_lookup_item) so that open_path_on_conn is called for a new FourTuple.
- Watch pending_open_paths.len() - it grows geometrically every 333 ms.
内容来源: n0-computer/iroh