Skip to content

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

License

Notifications You must be signed in to change notification settings

RealOrangeOne/lsio-mod-more-processes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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