Explorar o código

Make fs_inotify_max_user_watches configurable.

Avesh Agarwal %!s(int64=6) %!d(string=hai) anos
pai
achega
bbb34017f2

+ 1 - 0
roles/tuned/defaults/main.yml

@@ -1,3 +1,4 @@
 ---
 ---
 tuned_etc_directory: '/etc/tuned'
 tuned_etc_directory: '/etc/tuned'
 tuned_templates_source: '../templates'
 tuned_templates_source: '../templates'
+openshift_fs_inotify_max_user_watches: 65536

+ 1 - 0
roles/tuned/templates/openshift-node/tuned.conf

@@ -8,3 +8,4 @@ include=openshift
 
 
 [sysctl]
 [sysctl]
 net.ipv4.tcp_fastopen=3
 net.ipv4.tcp_fastopen=3
+fs.inotify.max_user_watches={{ openshift_fs_inotify_max_user_watches }}