Docker mod to increase the number of processes run for applications inside the container.
By default, any LSIO nginx installation ships using 4 worker processes, which is inefficient for high-core machines. I've opened PRs before, but they were all rejected for "backwards compatibility".
- Set Nginx'
worker_processes
toauto
. - Increase
pm
values forphp-fpm
to better deal with more requests.
On any of your LSIO containers, set the following environment variable:
DOCKER_MODS=theorangeone/lsio-mod-more-processes:latest