summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kochie <bjk@gitlab.com>2019-08-02 09:58:08 +0200
committerBen Kochie <bjk@gitlab.com>2019-08-02 09:58:08 +0200
commit0f91eadc8742054823ec5ea2767f843449fdee93 (patch)
treef28bdfe90cdd73e5e28419c2d36f57361b99cbab
parent407de0417d8ecb625e457054a85497f0e640316f (diff)
downloadgitlab-ce-0f91eadc8742054823ec5ea2767f843449fdee93.tar.gz
Update Unicorn Worker recommendationbjk/worker_scale_doc
Update the Unicorn worker documentation based on the new scaling formula. https://gitlab.com/gitlab-org/omnibus-gitlab/issues/4535
-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 25ab608de3a..2e3eedad992 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.