Difference between revisions for inotify





Next edit →

Merge of Version1 & Version2
2
3 The inotify(7) subsystem has three important tunings that impact watchman.
4
5   * /proc/sys/fs/inotify/max_user_instances!!/proc/sys/fs/inotify/max_user_instances!! impacts how many different root dirs you can watch.
6   * /proc/sys/fs/inotify/max_user_watches!!/proc/sys/fs/inotify/max_user_watches!! impacts how many dirs you can watch across all watched roots.
7   * /proc/sys/fs/inotify/max_queued_events!!/proc/sys/fs/inotify/max_queued_events!! impacts how likely it is that your system will experience a notification overflow.
8
9 You obviously need to ensure that max_user_instances and max_user_watches are set so that the system is capable of keeping track of your files.
10
… …
17 ((https://en.wikipedia.org/wiki/Inotify Inotify - Wikipedia))
18
19 ((https://linux.die.net/man/7/inotify Inotify - Man Page))
20
21
22 %%
23 inotifywait -mr -e close_write /storage/CROMA/
24 %%