Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-6372

KahaDB reader pool not releasing unused open files till deletion - too many open files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.13.0
    • 5.14.0
    • KahaDB
    • None

    Description

      Leading to:

      java.io.FileNotFoundException: .../kahadb/db-2300.log (Too many open files)

      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.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: