Core dumps with PHP-FPM on dynamic mode
Open
@bukka is already working on this.
Since Nov 9, 2023.
Feature
SAPI: fpm
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
Actual result
We run PHP-FPM in dynamic mode.
With the following settings, when SIGKILL event is sent during PHP-FPM spare servers scaling down, core dumps are generated on our application.
pm = dynamic
pm.start_servers = 4
pm.min_spare_servers = 2
pm.max_spare_servers = 4
pm.max_children = 10
pm.max_requests = 100
2023-11-06T21:09:49.65381919Z stderr F [06-Nov-2023 21:09:49] WARNING: [pool www] child 132 exited on signal 9 (SIGKILL) after 214.882381 seconds from start
Expected result
No core dumps should be generated by SIGKILL.
PHP Version
PHP 8.2.12
Operating System
Debian GNU/Linux 12 (bookworm)
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.
Assessment
This issue has not been assessed yet.