Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-38888

Loading JIRA gadget directory will cause CPU usage to spike, take long to load and all users will get affected

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      If a user tries to load JIRA gadget directory, the operation take a long time (up to a minute) to complete. It also causes a CPU usage spike, and affects the overall JIRA instance performance.

      Steps to Reproduce

      1. In a JIRA instance with multiple users, create or configure a dashboard.
      2. Click Add gadget to display the gadget directory.

      Expected Results

      The gadget directory loads without issues and all gadgets are displayed.

      Actual Results

      The operation takes a long time, and consumes excessive CPU resources. This puts pressure on the whole instance, affecting other users that may be attempting to load other JIRA screens.
      In some cases pages fail to load altogether with an error:

      Page unavailable
      The requested page failed to load. If the problem persists, please contact Atlassian Cloud Support.

      Workaround

      There is no workaround for this issue, although a later attempt to load the gadget directory may succeed if some of the data has been cached.

            [JRASERVER-38888] Loading JIRA gadget directory will cause CPU usage to spike, take long to load and all users will get affected

            Hi all,

            We are happy to announce that we will be including a new version of atlassian-gadgets in the JIRA 7.0.0-OD-01 Cloud update that is currently being deployed to all production instances.

            This version should address the memory consumption and performance issues reported in this issue whilst trying to add a gadget.

            Regards,

            Oswaldo Hernández.
            JIRA Bugmaster.
            [Atlassian].

            Oswaldo Hernandez (Inactive) added a comment - Hi all, We are happy to announce that we will be including a new version of atlassian-gadgets in the JIRA 7.0.0-OD-01 Cloud update that is currently being deployed to all production instances. This version should address the memory consumption and performance issues reported in this issue whilst trying to add a gadget. Regards, Oswaldo Hernández. JIRA Bugmaster. [Atlassian] .

            We have this issue on our Jira Cloud system as well. If I try to add a new Gadget on a dashboard, it takes a least a minute for the gadget library to load in order to actually add a gadget. Once its been loaded, it will load quickly until I refresh the webpage, and then it needs to reload the library again (which involves another minute-long wait).

            It looks like there was an update recently that moves the processing of this to the background. Instead of just spinning for a minute, it shows a screen that eventually says "More gadgets available", where I can push a button to "Load all gadgets". This seems like a step backwards. Before, I could at least wait and the gadgets would eventually load. Now I have to wait AND I have to press a button to reload the gadgets before I can see them.

            Maybe I'm missing something, but it seems like it shouldn't be very difficult to load a listing of like 50 items into a list - can't this information be cached somewhere for quick access?

            Tim McDougall added a comment - We have this issue on our Jira Cloud system as well. If I try to add a new Gadget on a dashboard, it takes a least a minute for the gadget library to load in order to actually add a gadget. Once its been loaded, it will load quickly until I refresh the webpage, and then it needs to reload the library again (which involves another minute-long wait). It looks like there was an update recently that moves the processing of this to the background. Instead of just spinning for a minute, it shows a screen that eventually says "More gadgets available", where I can push a button to "Load all gadgets". This seems like a step backwards. Before, I could at least wait and the gadgets would eventually load. Now I have to wait AND I have to press a button to reload the gadgets before I can see them. Maybe I'm missing something, but it seems like it shouldn't be very difficult to load a listing of like 50 items into a list - can't this information be cached somewhere for quick access?

            Hi ben.hill,

            This issue is not part of our short-term backlog at the moment, as we are currently working through other higher priority issues in different areas of JIRA. Consequently, this is not something we will be able to take a look in the short term so it's not possible at the moment for us to provide an estimate on when this will be fixed.

            Having said this, the performance of the gadget directory at scale is long-know limitation that we would still like to address, so please watch this issue as I will update it as soon as we have more information about its status.

            Regards,

            Oswaldo Hernández.
            JIRA Bugmaster.
            [Atlassian].

            Oswaldo Hernandez (Inactive) added a comment - Hi ben.hill , This issue is not part of our short-term backlog at the moment, as we are currently working through other higher priority issues in different areas of JIRA. Consequently, this is not something we will be able to take a look in the short term so it's not possible at the moment for us to provide an estimate on when this will be fixed. Having said this, the performance of the gadget directory at scale is long-know limitation that we would still like to address, so please watch this issue as I will update it as soon as we have more information about its status. Regards, Oswaldo Hernández. JIRA Bugmaster. [Atlassian] .

            This behaviour first noted 13/May/14 8:34 AM. https://support.atlassian.com/servicedesk/customer/jst/problem-report-96881

            Please advise time to fix.

            Thanks.

            Deleted Account (Inactive) added a comment - This behaviour first noted 13/May/14 8:34 AM. https://support.atlassian.com/servicedesk/customer/jst/problem-report-96881 Please advise time to fix. Thanks.

              Unassigned Unassigned
              mfahd Fahd
              Affected customers:
              2 This affects my team
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: