inofity is no fantastic. Memory use scales with the number of directories watched. The program that uses the inotify system call has to keep a mapping of file descriptors to paths. Inotify is slow, inefficient and error-prone for recursively watching file systems.
fanotify is not an alternative because it cannot monitor file deletion or renames and it requires root permission.
fanotify is not an alternative because it cannot monitor file deletion or renames and it requires root permission.
http://www.lanedo.com/filesystem-monitoring-linux-kernel/