From: Martin DeMello Date: 2006-11-22T19:49:29+09:00 Subject: inotify over nfs I had a happily-running inotify daemon monitoring file creation and deletion that broke when we moved to a multiple machine + NFS setup. Apparently inotify doesn't work over NFS, but it *does* if you have the watcher on the same machine as the process creating or deleting the files, which is actually good enough for me. So here's my current idea - I just wanted to run it by the list since I know people here have done related stuff (Ara, I'm looking at you :)): * Have an inotify process per machine that watches for file creation and deletion, and sends the messages to a Drb server on a single box. * Have the Drb server field messages and put them into an in-memory queue * Have a separate thread in the server program that wakes up every 15s or so and drains the queue if needed Any potential pitfalls? Any better way of doing this? martin