summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-08-31 00:09:13 +0000
committerStan Hu <stanhu@gmail.com>2017-08-31 00:09:13 +0000
commit3cc6e4c602177177f975f7457f849643ba633996 (patch)
treee1d7a344a65f0c35864b8f80d29972fb1dbcf2e8
parent4c600fe719d9695140d176fc9fe6cea3107f1150 (diff)
parent6b67cec3cd94fa79da6499c375ddde6947b1d049 (diff)
downloadgitlab-ce-3cc6e4c602177177f975f7457f849643ba633996.tar.gz
Merge branch 'swappiness-req-doc' into 'master'
Document swappiness recomendations in the requirements doc See merge request !13943
-rw-r--r--doc/install/requirements.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/install/requirements.md b/doc/install/requirements.md
index 175dfc62096..f672b358096 100644
--- a/doc/install/requirements.md
+++ b/doc/install/requirements.md
@@ -82,7 +82,9 @@ errors during usage.
We recommend having at least 2GB of swap on your server, even if you currently have
enough available RAM. Having swap will help reduce the chance of errors occurring
-if your available memory changes.
+if your available memory changes. We also recommend [configuring the kernels swappiness setting](https://askubuntu.com/a/103916)
+to a low value like `10` to make the most of your RAM while still having the swap
+available when needed.
Notice: The 25 workers of Sidekiq will show up as separate processes in your process overview (such as top or htop) but they share the same RAM allocation since Sidekiq is a multithreaded application. Please see the section below about Unicorn workers for information about many you need of those.