mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 11:37:00 +00:00
Update inotify resource limits (#6132)
This commit is contained in:
committed by
GitHub
parent
af3dd14fe0
commit
ef55b435e5
@@ -32,6 +32,10 @@ chmod -R 777 $AGENT_TOOLSDIRECTORY
|
||||
# https://www.suse.com/support/kb/doc/?id=000016692
|
||||
echo 'vm.max_map_count=262144' | tee -a /etc/sysctl.conf
|
||||
|
||||
# https://kind.sigs.k8s.io/docs/user/known-issues/#pod-errors-due-to-too-many-open-files
|
||||
echo 'fs.inotify.max_user_watches=655360' | tee -a /etc/sysctl.conf
|
||||
echo 'fs.inotify.max_user_instances=1280' | tee -a /etc/sysctl.conf
|
||||
|
||||
# Create symlink for tests running
|
||||
chmod +x $HELPER_SCRIPTS/invoke-tests.sh
|
||||
ln -s $HELPER_SCRIPTS/invoke-tests.sh /usr/local/bin/invoke_tests
|
||||
|
||||
Reference in New Issue
Block a user