Skip to content

Commit

Permalink
[CI] Buildkite: Set vm.max_map_count in Elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Mar 9, 2023
1 parent 18d6c99 commit 79dcc5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .buildkite/run-elasticsearch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ cleanup_node $es_node_name
master_node_name=${es_node_name}
cluster_name=${moniker}${suffix}

# Set vm.max_map_count kernel setting to 262144
sudo sysctl -w vm.max_map_count=262144

declare -a volumes
environment=($(cat <<-END
--env ELASTIC_PASSWORD=$elastic_password
Expand Down Expand Up @@ -146,5 +149,4 @@ END
if wait_for_container "$es_node_name" "$network_name"; then
echo -e "\033[32;1mSUCCESS:\033[0m Running on: $node_url\033[0m"
fi

done

0 comments on commit 79dcc5a

Please sign in to comment.