Meridio: Set sysctl required by NSM
[infra/tools.git] / infra / jenkins / slave-setup / nordix-nsm-build-server / configure-image-ubuntu2204.sh
index 7b4fdf986c7e1aff8e96091cd0b10c33cf520fc7..01f19b70e1014009fe6de9d9b4acc9d71fffb4d6 100644 (file)
@@ -113,6 +113,9 @@ sudo sysctl -w net.ipv4.tcp_keepalive_time=120
 sudo sysctl -w net.ipv4.tcp_keepalive_intvl=30
 sudo sysctl -w net.ipv4.tcp_keepalive_probes=8
 sudo sysctl -w net.ipv4.tcp_fin_timeout=30
+sudo sysctl -w fs.inotify.max_user_watches=524288
+sudo sysctl -w fs.inotify.max_user_instances=1024
+sudo sysctl -w fs.file-max=2097152
 
 # update ~jenkins/.profile
 sudo bash -c "echo 'export PATH=\$PATH:/usr/local/go/bin' >> /home/jenkins/.profile"