mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
vm.max_map_count=262144 (#1463)
This commit is contained in:
committed by
GitHub
parent
cd8b41b5ef
commit
ad2409dbfa
@@ -19,3 +19,7 @@ AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache
|
|||||||
mkdir $AGENT_TOOLSDIRECTORY
|
mkdir $AGENT_TOOLSDIRECTORY
|
||||||
echo "AGENT_TOOLSDIRECTORY=$AGENT_TOOLSDIRECTORY" | tee -a /etc/environment
|
echo "AGENT_TOOLSDIRECTORY=$AGENT_TOOLSDIRECTORY" | tee -a /etc/environment
|
||||||
chmod -R 777 $AGENT_TOOLSDIRECTORY
|
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
|
||||||
Reference in New Issue
Block a user