• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium (View bug fix roadmap)
    • 5.1.6, 5.2
    • 5.0.7, 5.1, 5.1.2
    • None
    • WAR-Installations of 5.0.7 and 5.1.2 running on a linux server.

      When reindexing Jira does not close the handles on the old index-files properly.
      Using lsof +L1 we could identify 6.89GiB of old indexes still open by jira but allready unlinked on the hard-drive.

      We run reindexing every night at 3am triggered by a service-task. Right now this means we should better restart Jira every week or two so we don't need a bigger data partition and improve Jira performance.

      How to reproduce?
      I just now hit "Reindex" inside Jira and after it finished there were 17 new lines in the output of lsof +L1.

      Workaround
      1. Disable the index optimization job as per our How to Disable the Index Optimization Job in JIRA KB article.
        This job is not necessary from JIRA 5.0 onwards and was deprecated as of JIRA 5.1.6 (JRA-29487).
      2. Whenever a full reindex is performed on JIRA, restart it afterwards.

            [JRASERVER-29587] Jira does not close handles of old index properly

            Micah B. made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 117230 ]
            Bugfix Automation Bot made changes -
            Minimum Version New: 5
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2846405 ] New: JAC Bug Workflow v3 [ 2928506 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2586521 ] New: JAC Bug Workflow v2 [ 2846405 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1543493 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2586521 ]
            Dave C made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 117230 ] New: This issue links to "Page (Atlassian Documentation)" [ 117230 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: enterprise New: affects-server enterprise
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 677231 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1543493 ]
            Dave C made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 117230 ] New: This issue links to "Page (Atlassian Documentation)" [ 117230 ]
            Zul NS [Atlassian] made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 117230 ] New: This issue links to "Page (Atlassian Documentation)" [ 117230 ]

              edalgliesh Eric Dalgliesh
              e20c2a5ea0ff buch.de internetstores AG
              Affected customers:
              2 This affects my team
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: