Missing data for processes started with ProcessPoolExecutor
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- backend, observability-sre
Research direction
Start by reproducing the Flask and Gunicorn setup with a long-running ProcessPoolExecutor and its initializer on AWS Fargate. Investigate the profiler lifecycle in worker processes; done means profiling data from executor workers is collected without triggering the duplicate-profiler-start error.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 16
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws/amazon-codeguru-profiler-python-agent
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
aws/amazon-codeguru-profiler-python-agent#62 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
aws/amazon-codeguru-profiler-python-agent#51 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
aws/amazon-codeguru-profiler-python-agent#47 · 3 reactions ·
All issues in aws/amazon-codeguru-profiler-python-agent
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100