summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-09-12 11:37:54 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-09-12 11:37:54 +0200
commita6084a7608d0c479173982c65a1729aadaa8114c (patch)
tree58daf21580b4e08d30aff75841763e2253741c2a /doc
parent21134df2028b860d29617b3c4e66c7e0d2579071 (diff)
parentee6ec5bd6dfe717cb967b9bb3952ce9c6d895098 (diff)
downloadgitlab-ce-a6084a7608d0c479173982c65a1729aadaa8114c.tar.gz
Merge pull request #7439 from bbodenmiller/patch-6
set the number of workers to # of cores
Diffstat (limited to 'doc')
-rw-r--r--doc/install/installation.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 5ad8392fb63..1175aff9dd9 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -176,8 +176,12 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
# Copy the example Unicorn config
sudo -u git -H cp config/unicorn.rb.example config/unicorn.rb
+ # Find number of cores
+ nproc
+
# Enable cluster mode if you expect to have a high load instance
# Ex. change amount of workers to 3 for 2GB RAM server
+ # Set the number of workers to at least the number of cores
sudo -u git -H editor config/unicorn.rb
# Copy the example Rack attack config