We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 294b58e commit c6c4b37Copy full SHA for c6c4b37
1 file changed
_scripts/install.sh
@@ -69,6 +69,10 @@ function configure_os {
69
if [ ! -n "$nr_hugepages" ] || [ 1024 -gt $nr_hugepages ] ;then
70
echo 'vm.nr_hugepages = 1024' >> /etc/sysctl.conf
71
fi
72
+ max_user_instances=$(sysctl -ne fs.inotify.max_user_instances)
73
+ if [ ! -n "$max_user_instances" ] || [ 65535 -gt $max_user_instances ] ;then
74
+ echo 'fs.inotify.max_user_instances = 65535' >> /etc/sysctl.conf
75
+ fi
76
sysctl -p
77
echo -e "\\033[32m---> Configuring kernel parameters finish\\033[0m"
78
}
0 commit comments