qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Rudyy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-8152) [Broker-J][BDB] Disable BDB JE file deletion watcher by default in order to avoid running into "user inotify limit"
Date Tue, 03 Apr 2018 15:48:00 GMT

     [ https://issues.apache.org/jira/browse/QPID-8152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Rudyy updated QPID-8152:
-----------------------------
    Attachment:     (was: inotifytest.tar.gz)

> [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
>            Priority: Major
>
> 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
> {noformat}
> Thought the root of the problem is a poorly 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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message