MyWackoSite: inotify

https://wiki.ebal.gr     Version: 2 (08/20/2019 23:05)
This is an old revision of inotify from 08/20/2019 23:05 edited by EvaggelosBalaskas.

inotify

Linux inotify Limits


The inotify(7) subsystem has three important tunings that impact watchman.


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.

max_queued_events is important to size correctly; if it is too small, the kernel will drop events and watchman wonΆt be able to report on them. Making this value bigger reduces the risk of this happening.

Watchman has two simple strategies for mitigating an overflow of max_queued_events:

It uses a dedicated thread to consume kernel events as quickly as possible

Inotify – Wikipedia[link1]

Inotify – Man Page[link2]