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

Đang mở
#18 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@helayoty đang làm issue này rồi.

Từ ngày 24/11/2026.

  • #130 của @helayoty — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
54/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes, linux
Lĩnh vực
backend, performance

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Go
Star
5
Fork
5
Merge trung bình
15 giờ 27 phút
Pull request đã merge (30 ngày)
41

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/fiberd

Tất cả issue của Azure/fiberd

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.