multiprocessing Queue leaks a file descriptor associated with the pipe writer (#33081 still a problem)
オープン
まだ誰も着手していません。
3.10
3.7 (EOL)
3.8 (EOL)
3.9 (EOL)
stdlib
topic-multiprocessing
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 42752 |
|---|---|
| Nosy | @pitrou, @mattip, @graingert, @applio |
| Files |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2020-12-26.23:03:41.032>
labels = ['3.8', '3.9', '3.10', 'performance', '3.7', 'library']
title = 'multiprocessing Queue leaks a file descriptor associated with the pipe writer (#33081 still a problem)'
updated_at = <Date 2022-02-21.11:50:18.407>
user = 'https://bugs.python.org/crazycasta'
bugs.python.org fields:
activity = <Date 2022-02-21.11:50:18.407>
actor = 'vstinner'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-12-26.23:03:41.032>
creator = 'crazycasta'
dependencies = []
files = ['49701', '49713']
hgrepos = []
issue_num = 42752
keywords = ['patch']
message_count = 5.0
messages = ['383832', '384149', '384151', '384737', '388632']
nosy_count = 5.0
nosy_names = ['pitrou', 'mattip', 'graingert', 'crazycasta', 'davin']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'resource usage'
url = 'https://bugs.python.org/issue42752'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']
Linked PRs
- gh-112900
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、アップロードされた test_queue.py と queue_close_write.patch を確認し、次に file-descriptor のクリーンアップに関連する multiprocessing Queue の pipe-writer の動作を調査します。提供された Queue テストを実行し、既存の動作をリンクされた PR gh-112900 と比較します。reproducer で pipe-writer のリークした descriptor が表示されなくなり、関連するテストが成功すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100