fsnotify
fsnotify copied to clipboard
Single inotify instance with multiple watchers
An fd-per-watch quickly consumes more file descriptors than are allowed. Would you accept a patch that uses a single inotify instance and multiple watchers? This appears to be the approach recommended by the Linux kernel docs.
Sure.
But I must admit the development here is not exactly active, have you looked at http://github.com/go-fsnotify/fsnotify repo?
If you want to do it, I have no problem merging it.
I think this issue is invalid. One watcher is created and multiple watchers are added to it so everything looks kosher!