summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDJ Mountney <david@twkie.net>2017-08-30 16:26:37 -0700
committerDJ Mountney <david@twkie.net>2017-08-30 16:26:37 -0700
commit64b10ef410fb2f018fb499f5a09e7689caa5d656 (patch)
treed24963f593141ac75f843bdbac7562443df6b56c /doc
parent4c600fe719d9695140d176fc9fe6cea3107f1150 (diff)
downloadgitlab-ce-64b10ef410fb2f018fb499f5a09e7689caa5d656.tar.gz
Document swappiness recomendations in the requirements doc
Diffstat (limited to 'doc')
-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..16cab9bd94a 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 setting the kernel's swappiness
+setting 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.