Last updated 8 months ago
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: