Link out to stackoverflow answer on setting swappiness

This commit is contained in:
DJ Mountney 2017-08-30 17:00:59 -07:00
parent 64b10ef410
commit 6b67cec3cd
1 changed files with 3 additions and 3 deletions

View File

@ -82,9 +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. 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.
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.