To check current limit of inotify watchs:
$ cat /proc/sys/fs/inotify/max_user_watches
To change Inotify watch limit:
$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf $ sudo sysctl -p
Source: GitHub
Last updated 3 months ago