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

File leak in KahaDB file lock - slave exhausts OS fd limit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.3.0
    • 5.3.0
    • Message Store
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: