VATUSA / api

VATUSA's RESTful API for facilities
https://api.vatusa.net
MIT License
3 stars 10 forks source link

Change max number of children #66

Closed dhawton closed 3 years ago

dhawton commented 3 years ago

There is a large number of requests that come in at the top of the hour that exhaust php-fpm's children pool. Because of this, a number of connections are failing to get a return resulting in 504 errors from the ingress.

This change doubles the number of children available, calculated by the current RAM usage of individual children and a reasonable amount of RAM usage from the current worker nodes in the k8 cluster.