Page with several jira-macro is loading for long time

Alex Kiselev _Itransition_ March 19, 2014

Hello

we have faced following problem:

confluence 5.4.3 and jira 5.1.8 are on the same server + apache + SSL

There are some pages with several jira-macro (from 2 to ~30). These pages are loading for a long time - much longer than pages without jira-macro.

Page with 2 jira-macro takes about 8-10 seconds.

Page with ~30 jira-macro takes several minutes.

Is there any solution to make them to be loaded faster?



3 answers

1 vote
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 22, 2014

Cache Macro can be used to provide better response time and lessen the impact of these requests on the servers especially if the data shown does not have to be current up to the minute.

Elvar Bjarki Böðvarsson March 23, 2014

As so often is the case, when there is a problem with Atlassian products, Bob Swift has made a plugin that solves it :)

0 votes
Elvar Bjarki Böðvarsson March 19, 2014

Ran into this problem few weeks ago. The problem was that Confluence or Jira had run out of memory and was using excessive amount of CPU. Restarting the service solved this. This was for a page that had maybe 10-20 issue macro's that took a few seconds to load before and it was taking minutes now. Even though the CPU usage was over the top nothing else regarding using the product was slow.

Like other have said, its not good practice to do this in general, better to create a issue filter in JIRA and then just paste the url into Confluence so it creates a JIRA Issue List. That means just one API call instead of one per Issue.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 19, 2014

Not really - it has to go off to the network to talk to Jira for every macro you place on a page.

Alex Kiselev _Itransition_ March 19, 2014

Users said about the same page (~30 macro):

on Tuesday 18 March - it takes about 5-10 seconds

on Wednesday 19 March - it takes more than a minute

I don't know about any changes (hardware, configuration, data amount ..)

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 19, 2014

Probably data amount - if the macros are trying to get an increased data set from Jira, that could explain the extra time they're taking.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events