Make PHP-FPM proctitle customisable
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
AFAICS, PHP-FPM's proctitle is set to php-fpm + version (e.g. php-fpm8.3).
On machines running multiple PHP-FPM processes (i.e. multiple master processes, not a single process with multiple pools), it would be useful to have separate proctitles. E.g. for tools such as atop that group total resource consumption per procname.
This could be achieved either by making the proctitle customisable, or adding a unique per-process identifier (can't think of one though).
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.
Research direction
No source file or test is named. Start by locating PHP-FPM’s proctitle setup in php-src and the entry point that creates the master process; determine how a configurable or unique title should be exposed, then verify that separate master processes receive distinct titles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100