Document swappiness recomendations in the requirements doc

This commit is contained in:
DJ Mountney 2017-08-30 16:26:37 -07:00
parent 4c600fe719
commit 64b10ef410

View file

@ -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.