4

I have a big folder of many (40,000+) files that are watched by at least 3 programs each one using inotify watches to detect changes (media servers, sync apps,...).

Each program runs it's own instance of inotify, consuming a lot of watches, and memory.

Is there a way to "reuse" or "share" an instance of inotify ? The way I understand it, it seems to me that at the moment each program I run uses his own inotify instance with a separate set of watches.

I already searched the web and SE, but didn't find any relevant information regarding sharing/reusing inotify instances/watches

0 Answers0