Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2246

kahadb free page recovery on unclean restart leads to long delays

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBoss A-MQ 6.3.x
    • JBoss A-MQ 6.3
    • kahadb
    • None
    • +
    • Hide
      Shutdown after an unclean restart may pause while recovering the index page file free list.
      It may be necessary to increase the 30s delay in the shutdown script via the environment variable:
      ACTIVEMQ_KILL_MAXSECONDS=300
      Show
      Shutdown after an unclean restart may pause while recovering the index page file free list. It may be necessary to increase the 30s delay in the shutdown script via the environment variable: ACTIVEMQ_KILL_MAXSECONDS=300

    Description

      Unclean shutdown forces the free pages in the index to be recovered. This can take many minutes on large stores. The change in behaviour follows from the fixes for: ENTMQ-2114

      A rework fo the fix, to do the recovery work on the next clean shutdown is a better approach, trading availability against some temporary disk usage.

      Note the rework of: https://issues.apache.org/jira/browse/AMQ-6590

      A further improvement does free page recovery async at start such that clean shutdown is no longer impacted.
      https://issues.apache.org/jira/browse/AMQ-7082

      Attachments

        Issue Links

          Activity

            People

              gtully@redhat.com Gary Tully
              gtully@redhat.com Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: