summaryrefslogtreecommitdiff
path: root/doc/install/requirements.md
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-06-11 02:51:15 +0000
committerEvan Read <eread@gitlab.com>2019-06-11 02:51:15 +0000
commitc327d02bd2e0e6b96c3c8448e043040914590b4d (patch)
tree058ee63f465cff6f75ada7b51fdc50daa11e1173 /doc/install/requirements.md
parentd7f5027643d2239b1ea5fd96c19f5e50fbb91691 (diff)
parenta28ad5cabc232034d4eb17c69a07a6ff62e41c58 (diff)
downloadgitlab-ce-c327d02bd2e0e6b96c3c8448e043040914590b4d.tar.gz
Merge branch 'patch-55' into 'master'
Improve details about acceptable number of unicorn workers See merge request gitlab-org/gitlab-ce!28262
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 107d48fb90c..ee3d17704a2 100644
--- a/doc/install/requirements.md
+++ b/doc/install/requirements.md
@@ -168,14 +168,14 @@ CREATE EXTENSION postgres_fdw;
## Unicorn Workers
-It's possible to increase the amount of unicorn workers and this will usually help to reduce the response time of the applications and increase the ability to handle parallel requests.
-
For most instances we recommend using: CPU cores + 1 = unicorn workers.
So for a machine with 2 cores, 3 unicorn workers is ideal.
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.
+As long as you have enough available CPU and memory capacity, it's okay to increase the number of unicorn workers and this will usually help to reduce the response time of the applications and increase the ability to handle parallel requests.
+
To change the Unicorn workers when you have the Omnibus package (which defaults to the recommendation above) please see [the Unicorn settings in the Omnibus GitLab documentation](https://docs.gitlab.com/omnibus/settings/unicorn.html).
## Redis and Sidekiq