Check the current system limitations, the default should be 8192:
cat /proc/sys/fs/inotify/max_user_watches
May need to adjust the system limit, but it is not known how to view each process consumes to watch the
Method 1 (after restart failure): https://www.jianshu.com/p/44344931d67a
echo 81920> / proc / SYS / FS / the inotify / max_user_watches
Method 2 (permanent): https://www.cnblogs.com/jincon/p/3702545.html
add a row to /etc/sysctl.conf:
fs.inotify.max_user_watches = 99999999
save modified to