Page created: 15 Jul 2022 |
Page updated: 20 Dec 2022
An event monitoring tool such as inotify can be configured for notifying processes about file system events, including file creation, deletion, and updates.
Linux limits the number of inotify watches a user can receive.
To increase the limit, edit etc/sysctl.conf to add the following
fs.inotify.max_user_watches = 524288
Run the following command.
$ sudo sysctl -w fs.inotify.max_user_watches=524288