Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 918 Bytes

File metadata and controls

18 lines (11 loc) · 918 Bytes

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