Alex Rudyy created QPID-8152:
--------------------------------

             Summary: [Broker-J][BDB] Disable BDB JE file deletion watcher by 
default in order to avoid running into "user inotify limit" 
                 Key: QPID-8152
                 URL: https://issues.apache.org/jira/browse/QPID-8152
             Project: Qpid
          Issue Type: Improvement
          Components: Broker-J
    Affects Versions: qpid-java-broker-7.0.3
            Reporter: Alex Rudyy


BDB JE use registers watcher service to detect unexpected deletion of the file.
In some purely configured environments the user inotify limit can be breached 
on virtual host/virtual host node start-up. This situation ends-up in exception 
like the one below:
{noformat}
Caused by: java.io.IOException: User limit of inotify instances reached or too 
many open files
                at 
sun.nio.fs.LinuxWatchService.<init>(LinuxWatchService.java:64)
                at 
sun.nio.fs.LinuxFileSystem.newWatchService(LinuxFileSystem.java:47)
                at 
com.sleepycat.je.log.FileDeletionDetector.<init>(FileDeletionDetector.java:85)
                ... 29 common frames omitted

{nofromat}

Thought the root of the problem is a purely configured environment, it would be 
safer to disable file deletion detection watcher by default.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to