diff options
author | DJ Mountney <david@twkie.net> | 2017-08-30 16:26:37 -0700 |
---|---|---|
committer | DJ Mountney <david@twkie.net> | 2017-08-30 16:26:37 -0700 |
commit | 64b10ef410fb2f018fb499f5a09e7689caa5d656 (patch) | |
tree | d24963f593141ac75f843bdbac7562443df6b56c /doc/install/requirements.md | |
parent | 4c600fe719d9695140d176fc9fe6cea3107f1150 (diff) | |
download | gitlab-ce-64b10ef410fb2f018fb499f5a09e7689caa5d656.tar.gz |
Document swappiness recomendations in the requirements doc
Diffstat (limited to 'doc/install/requirements.md')
-rw-r--r-- | doc/install/requirements.md | 4 |
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. |