Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-3168

Lucene reindexing fails and goes to 100% CPU on multi-processor systems

    • Icon: Bug Bug
    • Resolution: Answered
    • Icon: High High
    • 2.2
    • 1.4
    • None
    • Standalone, JDK 1.4.2_08
      Windows Server 2003
      Two Pentium 4 CPUs with Hyper Threading enabled for a total of 4 processors

      After upgrading from 1.4-DR6 to 1.4-RC2, I decided to "Rebuild the Search Index". The reindexing process hung and CPU utilization was at 100%. I stopped Tomcat, removed all the files from the index directory and tried again. It hung at a different place. I repeated this many times with the hang always occurring on a different document. There were many different types of exceptions appearing on the console, and one of them mentioned a concurrency error. I cleared the index directory again and restarted Tomcat, but set "CPU Affinity" to just a single CPU – and that allowed the reindexing process to run successfully without any errors. This indicates that the reindex process has a critical problem on multi-processor servers. I do not yet know if this problem occurs during normal indexer updates or whether it is limited to the reindex process.

        1. reindex-errors.txt
          9 kB
          Piper Keairnes

            [CONFSERVER-3168] Lucene reindexing fails and goes to 100% CPU on multi-processor systems

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2902279 ] New: CONFSERVER Bug Workflow v4 [ 2996886 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2799507 ] New: JAC Bug Workflow v3 [ 2902279 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2729975 ] New: JAC Bug Workflow v2 [ 2799507 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395205 ] New: JAC Bug Workflow [ 2729975 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2291087 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395205 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2228913 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2291087 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185462 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2228913 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1914625 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185462 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1722955 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1914625 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1680282 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1722955 ]

              cmiller@atlassian.com Charles Miller (Inactive)
              06edaea21c1b Piper Keairnes
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: