Experienced Behavior

      During JIRA Service Desk automation startup PSMQ checks for outstanding jobs that need to reexecute. This task is performed by the localhost-startStop-1 thread and delays startup of the entire JIRA instance.

      • The delay may range from less than a second to multiple minutes depending on the number of entries that PSMQ checks.

      Log entries associated with this are included below. This example shows a delay of over nine minutes.

      2017-06-25 09:41:35,892 localhost-startStop-1 INFO      [c.a.s.p.a.internal.bootstrap.AutomationPluginLauncher] AutomationPlugin onStart() - Service Desk Automation Plugin is starting...
      2017-06-25 09:41:35,914 localhost-startStop-1 DEBUG      [c.a.activeobjects.osgi.ActiveObjectsServiceFactory] getService bundle [com.atlassian.psmq]
      2017-06-25 09:51:03,885 localhost-startStop-1 INFO      [c.a.s.p.a.internal.bootstrap.AutomationPluginLauncher] AutomationPlugin onStart() - Service Desk Automation Plugin is started.
      

      Expected Behavior

      JIRA Service Desk Automation and PSMQ do not cause multiple minute delay when starting JIRA.

      Steps to Reproduce

      • Create instance with JIRA Service Desk 3.5.0 or newer.
      • Create requests
      • Trigger an automation rule for each request
      • Restart JIRA
      • Monitor startup logging for "AutomationPlugin onStart()" and observe delay between "starting" and "started" entries

      Length of delay will depend on number of issues.

      • ~600 issues shows 2sec delay
      • ~1200 requests show 4sec delay
      • Longest delay observed is over 10 minutes. Instance containing 100,000+ requests.

          Form Name

            [JSDSERVER-5219] PSMQ causes delay during JIRA startup

            Karan Ahuja made changes -
            Remote Link Original: This issue links to "JSDS-843 (JIRA Server)" [ 304451 ] New: This issue links to "JSMDC-843 (JIRA Server (Bulldog))" [ 304451 ]
            Owen made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2404190 ] New: JAC Bug Workflow v3 [ 3126604 ]
            Status Original: Done [ 10044 ] New: Closed [ 6 ]
            Owen made changes -
            Symptom Severity Original: Major [ 14431 ] New: Severity 2 - Major [ 15831 ]
            Andriy Yakovlev [Atlassian] made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 335731 ]
            Andriy Yakovlev [Atlassian] made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 335731 ]
            Nick made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 323962 ]
            Sergey Zaporozhtsev (Inactive) made changes -
            Fix Version/s New: 3.2.11 [ 75046 ]
            Sergey Zaporozhtsev (Inactive) made changes -
            Remote Link New: This issue links to "JSDS-1211 (JIRA Server)" [ 322883 ]
            David Chan made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 321026 ]
            David Chan made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 321026 ]

              szaporozhtsev Sergey Zaporozhtsev (Inactive)
              tevans Tim Evans (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: