PHP-FPM Configuration: max_requests #512
Closed
thueske
started this conversation in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
Thanks for your good work. I switched to your images today because WordPress unfortunately still doesn't have PHP 8.4 in the official image (see docker-library/wordpress#932).
Based on the official WordPress image, I had also made the FPM configuration customisable via environment variables.
I'm missing one option in your image and thought I'd just open an issue instead of workarounds. It's about pm.max_requests (The number of requests each child process should execute before respawning. This can be useful to work around memory leaks in 3rd party libraries. For endless request processing specify ‘0’, the defalt. See https://www.php.net/manual/en/install.fpm.configuration.php).
Is there a chance to get this as an environment variable in your image? What do you think?
Beta Was this translation helpful? Give feedback.
All reactions