[ 
https://issues.apache.org/jira/browse/QPID-8152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16424222#comment-16424222
 ] 

Rob Godfrey commented on QPID-8152:
-----------------------------------

I agree with [~k-wall] it would seem better to document than to turn off the 
feature.  If we were trying to be really kind we could try to identify the 
exception when it is thrown and offer guidance in the log/exception message.

> [Broker-J][BDB] Virtual host start-up fails with IOException: User limit of 
> inotify instances reached or too many open files
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-8152
>                 URL: https://issues.apache.org/jira/browse/QPID-8152
>             Project: Qpid
>          Issue Type: Bug
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-7.0.0, qpid-java-broker-7.0.3
>            Reporter: Alex Rudyy
>            Priority: Minor
>
> Newer versions of BDB JE register {{java.nio.file.WatchService}} to detect 
> unexpected deletion of the data files owned by JE.
> In some poorly 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}
> Though 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to