Merge branch 'bjk/worker_scale_doc' into 'master'

Update Unicorn Worker recommendation

See merge request gitlab-org/gitlab-ce!31404
This commit is contained in:
Achilleas Pipinellis 2019-08-05 14:39:07 +00:00
commit b82931359b

View file

@ -146,8 +146,8 @@ CREATE EXTENSION postgres_fdw;
## Unicorn Workers
For most instances we recommend using: CPU cores + 1 = unicorn workers.
So for a machine with 2 cores, 3 unicorn workers is ideal.
For most instances we recommend using: (CPU cores * 1.5) + 1 = unicorn workers.
For example a node with 4 cores would have 7 unicorn workers.
For all machines that have 2GB and up we recommend a minimum of three unicorn workers.
If you have a 1GB machine we recommend to configure only two Unicorn workers to prevent excessive swapping.