Skip to content

Commit

Permalink
vm.max_map_count=262144 (actions#1463)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-cheb authored Aug 21, 2020
1 parent cd8b41b commit ad2409d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions images/linux/scripts/installers/configure-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache
mkdir $AGENT_TOOLSDIRECTORY
echo "AGENT_TOOLSDIRECTORY=$AGENT_TOOLSDIRECTORY" | tee -a /etc/environment
chmod -R 777 $AGENT_TOOLSDIRECTORY

# https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html
# https://www.suse.com/support/kb/doc/?id=000016692
echo 'vm.max_map_count=262144' | tee -a /etc/sysctl.conf

0 comments on commit ad2409d

Please sign in to comment.