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

  1. 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

  2. Then run this command to apply the change:

    sudo sysctl -p --system

refer

https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit

相关文章:

  • 2022-02-26
  • 2021-05-25
  • 2022-12-23
  • 2021-05-11
  • 2021-04-23
  • 2021-10-16
猜你喜欢
  • 2022-01-19
  • 2021-07-05
  • 2022-02-24
  • 2021-08-27
  • 2021-12-08
相关资源
相似解决方案