You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying to optimize Elasticsearch in production.
I have noticed that is it recommended to disable memory swapping in production and the official documentation is giving 3 ways to accomplish that:
Hello guys,
I am currently trying to optimize Elasticsearch in production.
I have noticed that is it recommended to disable memory swapping in production and the official documentation is giving 3 ways to accomplish that:
https://www.elastic.co/guide/en/elasticsearch/guide/current/heap-sizing.html#_swapping_is_the_death_of_performance
1-
sudo swapoff -a
+ edit/etc/fstab
2- Change the
sysctl
value,vm.swappiness = 1
3- Change java options by editing
elasticsearch.yml
,bootstrap.mlockall: true
Inside the docker image however, none of there 3 ways have been implemented
Is it something that should be handled on docker level or on the system level ?
Thank you in advance guys!
The text was updated successfully, but these errors were encountered: