An event monitoring tool such as inotify
can be configured for notifying
processes about file system events (including file creation, deletion, and updates). The
Linux system puts a limit on the number of inotify
watches assigned to
each user. To increase the limit, edit etc/sysctl.conf
to add a line:
fs.inotify.max_user_watches =524288
Run the command:
$ sudo sysctl -wfs.inotify.max_user_watches=524288