A pressure park can miss its 2 s quiesce wait under heavy memory pressure

未关闭
#18 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@helayoty 已经在做这个了。

开始于 2026年11月24日。

  • #130 来自 @helayoty —— 未关闭

评估

难度
3/5
预计耗时
1-2 天
新手友好度
54/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
go, kubernetes, linux

调研方向

Start by tracing the pressure park path that waits for the fiber's 'q' and how it uses the grant's resume deadline; the issue does not name the relevant files or tests. Check how quiesce waiting is bounded, then add a test that stalls a fiber past 2 seconds before 'q'. Done means pressure park succeeds after that delay while the resume deadline remains 2 seconds.

由索引模型根据 Issue 内容生成。

描述

bug

A pressure park asks the fiber to stop serving and waits up to the grant's resume deadline (2 s by default) for its 'q'. On a runner under heavy memory pressure, one fiber missed that wait.

pressure: park storm-1792194890/1/5 (session s4) failed, releasing instead:
proc: park storm-1792194890/1/5: the fiber did not stop serving for the park: context deadline exceeded
pressure parks: parked=7 failed=1

This was in the 2x overcommit job on 60c4a26 (job 117249428834), at PSI some avg10 34.7% with the container at its cap. It passed on the re-run, and in the 5 runs before it. The fiber was released, so its session was lost instead of parked.

If it recurs.

  • Give pressure parks a longer quiesce wait than the resume deadline. A fiber stalled in reclaim is the one pressure most wants parked.
  • Add a test that stalls a fiber past 2 s before its 'q' and asserts the pressure park still succeeds.
主要语言
Go
星标
5
派生
5
平均合并
15 小时 27 分钟
30 天内合并 PR
41

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure/fiberd 的其他 Issue

查看 Azure/fiberd 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。