Skip to content
代码片段 群组 项目
提交 6b67cec3 编辑于 作者: DJ Mountney's avatar DJ Mountney
浏览文件

Link out to stackoverflow answer on setting swappiness

上级 64b10ef4
No related branches found
No related tags found
无相关合并请求
...@@ -82,9 +82,9 @@ errors during usage. ...@@ -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.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册