You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2016/07/25 12:33:20 UTC

[jira] [Created] (AMQ-6372) KahaDB reader pool not releasing unused open files till deletion - too many open files

Gary Tully created AMQ-6372:
-------------------------------

             Summary: KahaDB reader pool not releasing unused open files till deletion - too many open files
                 Key: AMQ-6372
                 URL: https://issues.apache.org/jira/browse/AMQ-6372
             Project: ActiveMQ
          Issue Type: Bug
          Components: KahaDB
    Affects Versions: 5.13.0
            Reporter: Gary Tully
            Assignee: Gary Tully
             Fix For: 5.14.0


Leading to: 
{code}java.io.FileNotFoundException: .../kahadb/db-2300.log (Too many open files){code}
Kahadb has an accessor pool of random access files and a periodic cleanup. However the cleanup does not work as expected.
Only on journal gc does the pool get purged.
This issue can arise with very large amounts of journal files that are paging and on recovery when the entire journal needs to be replayed.
In essence, currently there needs to be fd per journal data file.
The workaround is to increase the nofiles (max open files) for the broker process.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)