howeyc/fsnotify

Single inotify instance with multiple watchers

joelreymont opened this issue · 3 comments

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.

Chris,

I need this for another project.

I'll try to take care of it this week.

I think this issue is invalid. One watcher is created and multiple watchers are added to it so everything looks kosher!