inotify resources exhausted
tail -f /var/log/kubelet.log
tail: inotify resources exhausted
tail: inotify cannot be used, reverting to polling
debug
cat /proc/sys/fs/inotify/max_user_watches
8192
resolved
-
Add the following line to either /etc/sysctl.conf file or a new *.conf file (e.g. idea.conf) under /etc/sysctl.d/ directory:
fs.inotify.max_user_watches = 524288
-
Then run this command to apply the change:
sudo sysctl -p --system
refer
https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit