Sign inSign up

theorangeone/lsio-mod-more-processes

By theorangeone

•Updated about 5 years ago

Docker mod to increase the number of processes run for applications inside the container.

Image
0

9.8K

theorangeone/lsio-mod-more-processes repository overview

⁠docker-lsio-mod-more-processes

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 to auto.
  • Increase pm values for php-fpm to better deal with more requests.

⁠Usage

On any of your LSIO containers, set the following environment variable:

DOCKER_MODS=theorangeone/lsio-mod-more-processes:latest

More about docker mods⁠

Tag summary

Content type

Image

Digest

Size

560 Bytes

Last updated

about 5 years ago

docker pull theorangeone/lsio-mod-more-processes