activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2366) File leak in KahaDB file lock - slave exhausts OS fd limit
Date Wed, 26 Aug 2009 15:21:50 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53804#action_53804
] 

Gary Tully commented on AMQ-2366:
---------------------------------

KahaDB persistence configured as follows:

<persistenceAdapter>
            <!-- Config for high throughput, default max file size is 32 MiB. -->
            <kahaDB
                directory="${activemq.base}/data"
                indexWriteBatchSize="1000"
                enableIndexWriteAsync="true"
                enableJournalDiskSyncs="false"
            />
  </persistenceAdapter>

> File leak in KahaDB file lock - slave exhausts OS fd limit
> ----------------------------------------------------------
>
>                 Key: AMQ-2366
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2366
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.3.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.3.0
>
>
> If I follow the logs, the slave brokers emit this message for a while:
>  
> Database /opt/fusemq/data/dev-broker1/kahadb/lock is locked... waiting 10 seconds for
the database to be unlocked. Reason: java.io.IOException: File '/opt/fusemq/data/dev-broker1/kahadb/lock'
could
> not be locked.
>  
> Then, it switches to
>  
> Database /opt/fusemq/data/dev-broker1/kahadb/lock is locked... waiting 10 seconds for
the database to be unlocked. Reason: java.io.FileNotFoundException: /opt/fusemq/data/dev-broker1/kahadb/lock
(Too many open files)
> lsof shows loads of fds allocated to the slave broker.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message