Single inotify instance with multiple watchers
joelreymont opened this issue · 3 comments
joelreymont commented
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.
howeyc commented
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.
joelreymont commented
joelreymont commented
I think this issue is invalid. One watcher is created and multiple watchers are added to it so everything looks kosher!