We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53b5dcb + 0e4fa50 commit b374745Copy full SHA for b374745
hack/jenkins/common.sh
@@ -89,6 +89,13 @@ if [ "$(uname)" = "Darwin" ]; then
89
fi
90
91
92
+## set sysctl params for inotify, to avoid "too many open files" errors
93
+## ref: https://cloud.google.com/kubernetes-engine/distributed-cloud/bare-metal/docs/installing/configure-os/ubuntu
94
+if [ "$OS" == "linux" ]; then
95
+ sudo sysctl -w fs.inotify.max_user_instances=8192
96
+ sudo sysctl -w fs.inotify.max_user_watches=524288
97
+fi
98
+
99
# We need pstree for the restart cronjobs
100
if [ "$(uname)" != "Darwin" ]; then
101
sudo apt-get -y install lsof psmisc dnsutils
0 commit comments