summaryrefslogtreecommitdiff
path: root/doc/install/requirements.md
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-08-05 14:39:07 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-08-05 14:39:07 +0000
commitb82931359b5f9656d739bfbb600438ddf2213ce0 (patch)
treeb3ffb5efb88555b87332f86e519110c0ebc27236 /doc/install/requirements.md
parent137aebc9b8964d7e413514d0c4f2de62bb525a52 (diff)
parent0f91eadc8742054823ec5ea2767f843449fdee93 (diff)
downloadgitlab-ce-b82931359b5f9656d739bfbb600438ddf2213ce0.tar.gz
Merge branch 'bjk/worker_scale_doc' into 'master'
Update Unicorn Worker recommendation See merge request gitlab-org/gitlab-ce!31404
Diffstat (limited to 'doc/install/requirements.md')
-rw-r--r--doc/install/requirements.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/install/requirements.md b/doc/install/requirements.md
index ed5b23a122f..cfabc09646d 100644
--- a/doc/install/requirements.md
+++ b/doc/install/requirements.md
@@ -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.