Skip to content

docs(research): Server 2022 句柄增长证据链 (#21) - #247

Merged
JavaZeroo merged 1 commit into
mainfrom
docs/conpty-2022-handles
Oct 30, 2026
Merged

JavaZeroo merged 1 commit into
mainfrom
docs/conpty-2022-handles

Conversation

@JavaZeroo

Copy link
Copy Markdown
Owner

内容

新增 docs/research/conpty-2022-handle-growth.md,把 #21 的证据链整理成一份可引用的文档:

  1. 现象:windows-2022-conpty 长期红的原因是 steady_resources 永不满足;
  2. 逐轮数据:2022 +1/轮 vs Win11 持平;
  3. 阶段拆分:两平台会话期间增量相同(+8),差别在 close 之后;
  4. 类型与归属:泄漏的是 type index 7(Job),但不是我们的 job_——我们的句柄每轮都关闭,残留的是平台复制的另一个值;
  5. 判读:不是本项目的 CloseHandle 遗漏,属 2022 系统 ConPTY 行为;
  6. 待决:是否把该基线改为「记录、不强制零增长」需用户确认。

边界

Refs #21

The note links the per-round counts, the phase split, the object type and the handle values that show the residual Job handle is not the session-owned one.
@JavaZeroo
JavaZeroo merged commit fc1359e into main Oct 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant