This is a possible regression of JRA-29587

      Steps to reproduce:

      1. install JIRA 5.2.11 in linux and create mass number of projects and issues
      2. edit or comment on some issue. Run the "lsof +L1" command.
      3. deleted opened files still being display. example (snippet of it):
        java      6337 janetalbion  644r   REG   0,19  1147106     0  410788 /home/janetalbion/supportinstance/jsp/jira5211/home/caches/indexes/comments/_g1.tis (deleted)
        java      6337 janetalbion  681r   REG   0,19  2715619     0  410805 /home/janetalbion/supportinstance/jsp/jira5211/home/caches/indexes/comments/_g1.frq (deleted)
        java      6337 janetalbion  682r   REG   0,19  1318707     0  410807 /home/janetalbion/supportinstance/jsp/jira5211/home/caches/indexes/comments/_g1.prx (deleted)
        java      6337 janetalbion  683r   REG   0,19 12637805     0  410793 /home/janetalbion/supportinstance/jsp/jira5211/home/caches/indexes/comments/_g1.fdt (deleted)
        java      6337 janetalbion  684r   REG   0,19   289524     0  410794 /home/janetalbion/supportinstance/jsp/jira5211/home/caches/indexes/comments/_g1.fdx (deleted)
        
      • even though the ERROR "too many opened" files might not be thrown immediately, after some times, JIRA still need a restart to clear the opened files

      Additional notes:

      • re-indexing while locking the instance will not reproduce this behaviour
      • not easy to reproduce with small instance. It's become easier to reproduce when instance is larger. So far tested with vanilla instance with approximately 5000 issues and it can be reproduce more frequently compare to 100 issues.
      • the list of open files might disappear on it's own (without performing any operation, some of the open files are no longer appearing when "lsof +L1" is executed
      • when Test Disk Speed is run, the result is Excellent
      • this is so far tested with JIRA 5.2.11

      Workaround

      Please see our Loss of Functionality due to Too Many Open Files Error KB for further information.

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

            Micah B. made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 117314 ]
            Bugfix Automation Bot made changes -
            Minimum Version New: 5
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2835385 ] New: JAC Bug Workflow v3 [ 2925196 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2561687 ] New: JAC Bug Workflow v2 [ 2835385 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1522482 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2561687 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: performance-scalability New: affects-server performance-scalability
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 679912 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1522482 ]
            Oswaldo Hernandez (Inactive) made changes -
            Component/s Original: Performance - Scalability [ 12773 ]
            Oswaldo Hernandez (Inactive) made changes -
            Labels New: performance-scalability
            Tony Starr made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 117314 ] New: This issue links to "Page (Atlassian Documentation)" [ 117314 ]

              Unassigned Unassigned
              jalbion Janet Albion (Inactive)
              Affected customers:
              2 This affects my team
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: