ucfopen / Materia

Engage students with easily embedded apps for online courses. Supercharge your course with compelling experiences and game mechanics.
https://ucfopen.github.io/Materia-Docs/
GNU Affero General Public License v3.0
36 stars 33 forks source link

Make phpfpm's pm.max_children value configurable #1592

Closed clpetersonucf closed 1 month ago

clpetersonucf commented 2 months ago

pm.max_children is a php-fpm configuration that determines the maximum number of child workers the php-fpm process can spin up. In our production environment, we are frequently seeing logs indicating that the maximum number of children (5) has been reached. Ideally, this is a value provided from docker compose, allowing it to be easily configured for different instances: local dev, QA, and prod. In the php-fpm application container, these configs are currently located at /usr/local/etc/php-fpm.d/ in the default www.conf configuration file.

clpetersonucf commented 1 month ago

Completed via #1593