From 6f9fbae82f02f8aaeb7895d09c970eb408cee40b Mon Sep 17 00:00:00 2001 From: Dominic Werner Date: Thu, 11 May 2017 12:29:56 +0200 Subject: [PATCH] add readme note for max_map_count --- templates/es-cluster/0/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/es-cluster/0/README.md b/templates/es-cluster/0/README.md index 6b474e0..c6ad399 100644 --- a/templates/es-cluster/0/README.md +++ b/templates/es-cluster/0/README.md @@ -1,3 +1,9 @@ # Elasticsearch Cluster -A scalable Elasticsearch cluster \ No newline at end of file +A scalable Elasticsearch cluster + +## Notes + +You have to set vm.max_map_count to atleast 262144 on each of the hosts that will run Elasticsearch! + +To do so run `sudo sysctl -w vm.max_map_count=262144` \ No newline at end of file