REPRO:
- create and start watcher
- add som files to watched path
- shotdown watcher
- go to start
22:26:34.211 [pool-2-thread-1] ERROR n.c.file.watcher.FileProducerWorker - event failed.
java.io.IOException: User limit of inotify instances reached or too many open files
at sun.nio.fs.LinuxWatchService.(LinuxWatchService.java:64)
at sun.nio.fs.LinuxFileSystem.newWatchService(LinuxFileSystem.java:47)
at no.cantara.file.watcher.FileNativeEventsProducer.(FileNativeEventsProducer.java:72)
at no.cantara.file.watcher.FileProducerWorker.start(FileProducerWorker.java:53)
at no.cantara.file.watcher.PathWatcher.start(PathWatcher.java:274)
REPRO:
22:26:34.211 [pool-2-thread-1] ERROR n.c.file.watcher.FileProducerWorker - event failed.
java.io.IOException: User limit of inotify instances reached or too many open files
at sun.nio.fs.LinuxWatchService.(LinuxWatchService.java:64)
at sun.nio.fs.LinuxFileSystem.newWatchService(LinuxFileSystem.java:47)
at no.cantara.file.watcher.FileNativeEventsProducer.(FileNativeEventsProducer.java:72)
at no.cantara.file.watcher.FileProducerWorker.start(FileProducerWorker.java:53)
at no.cantara.file.watcher.PathWatcher.start(PathWatcher.java:274)