Disabling swapiness

Hi All,

All my PROD nodes are dedicated ES servers each and running under elasticsearch user

do I need to disable swapiness in order to prevent OOM killer issues?

Thanks,
phani

We recommend disabling swap - https://www.elastic.co/guide/en/elasticsearch/guide/current/heap-sizing.html#_swapping_is_the_death_of_performance.

Hi Mark,

Thank you for suggestion i have disabled swapiness on my production linux boxes. ES is suggesting any of the following methods in the following link so i did first one disabling swapiness completely on linux boxes.
https://www.elastic.co/guide/en/elasticsearch/reference/1.4/setup-configuration.html

I enabled bootstrap "bootstrap.mlockall: true" too. can I disable this one since i already disabled swapiness on prod linux boxes or do we need to enabled this bootstrap too? please suggest me on this.

Thank & Regards,
phani

It doesn't really matter.