Has anyone used inotify to watch something like 500K - 1M directories? How's the performance on such a large amount of watches?
I was thinking to create a server that tracks file changes on some sites. The server would be written in PHP or nodejs. Before I start I'd like to know if inotify is the right tool for this task.
I can increase the max number of watches:
fs.inotify.max_user_watches=1000000
But what next? Can inotify handle it?