Missing data for processes started with ProcessPoolExecutor
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
调研方向
首先,在 AWS Fargate 上复现使用长期运行的 ProcessPoolExecutor 及其 initializer 的 Flask 和 Gunicorn 设置。调查 worker 进程中的 profiler 生命周期;当能够收集 executor worker 的 profiling 数据且不会触发 duplicate-profiler-start error 时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
We have a Flask application with Gunicorn running on AWS Fargate. Our application has part of the business logic executed in parallel, using ProcessPoolExecutor. The executor, including the worker processes are reused and long running.
We have noticed that we are missing profiling data for the logic executed in worker processes. We have attempted to start new profiler for worker processes using ProcessPoolExecutor initializer, but this attempt has failed with message that we can't start the profiler twice within the same process.
- 主要语言
- Python
- 星标
- 16
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/amazon-codeguru-profiler-python-agent 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/amazon-codeguru-profiler-python-agent#62 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
aws/amazon-codeguru-profiler-python-agent#51 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
aws/amazon-codeguru-profiler-python-agent#47 · 3 个 reaction ·
查看 aws/amazon-codeguru-profiler-python-agent 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
PedestrianDynamics/pyFDS-Evac#199 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
521xueweihan/HelloGitHub#3790 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
sandialabs/atlas-ui-3#978 ·
维护者通常 1 天内回复
-
area: tests perceived difficulty: 2
难度 2/5 1-3 小时 新手友好度 72/100
Nitjsefnie-Harness-Commons/daedalus#1255 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
EleutherAI/lm-evaluation-harness#4256 ·
维护者通常 1 天内回复