Skip to content

FileNativeEventsProducer.showdown seems to leak FileHandles #8

Description

@totto

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions