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

Mail connections do not specify a timeout, leading to monopolization of resources

      All our calls to retrieve email/establish a connection to the Mail Server do not specify a timeout for the connection. The default behavior is to block indefinitely; if this happens, all resources associated with that thread are never released. This is responsible for https://support.atlassian.com/browse/CSP-14098 as we obtain a cluster wide lock and do not release until the mail is retrieved. No doubt other bugs exist.

      User Symptoms: Confluence performance degrades over time, particularly during load. A restart resolves the issue temporarily. A thread dump while Confluence is slow shows many threads waiting on mail connections

            [CONFSERVER-10335] Mail connections do not specify a timeout, leading to monopolization of resources

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2879205 ] New: CONFSERVER Bug Workflow v4 [ 3003012 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2785594 ] New: JAC Bug Workflow v3 [ 2879205 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2715245 ] New: JAC Bug Workflow v2 [ 2785594 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2380923 ] New: JAC Bug Workflow [ 2715245 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2272548 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2380923 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2222879 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2272548 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2172517 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2222879 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1934752 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2172517 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1734266 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1934752 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1692874 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1734266 ]

              Unassigned Unassigned
              alynch Andrew Lynch (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: