Closed abitrolly closed 7 years ago
$ cat /proc/sys/vm/swappiness
60
$ sudo sh -c 'echo "vm.swappiness = 10" > /etc/sysctl.d/60-cybernode-swappiness.conf'
$ sudo sysctl -p /etc/sysctl.d/60-cybernode-swappiness.conf
vm.swappiness = 10
$ cat /proc/sys/vm/swappiness
10
Let's reopen this when we get issues.
Yesterday RethinkDB started to hit disk cache after we've run
xchange-crawler
. https://rethinkdb.com/docs/troubleshooting/#rethinkdb-is-running-out-of-memory One advice is to increaseswapiness
: