Link out to stackoverflow answer on setting swappiness
This commit is contained in:
parent
64b10ef410
commit
6b67cec3cd
|
@ -82,9 +82,9 @@ errors during usage.
|
||||||
|
|
||||||
We recommend having at least 2GB of swap on your server, even if you currently have
|
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
|
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
|
if your available memory changes. We also recommend [configuring the kernels swappiness setting](https://askubuntu.com/a/103916)
|
||||||
setting to a low value like `10` to make the most of your RAM while still having
|
to a low value like `10` to make the most of your RAM while still having the swap
|
||||||
the swap available when needed.
|
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.
|
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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue