It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Slow batch.js loading Edited

I have migrated a small JIRA Core from Cloud to server (1 Project)

 

Server i 4 x vCPU and 12 GB Ram (8 for JIRA).

 

Occantionally, batch.js load very, very slow...

 

Screenshot 2020-03-31 at 08.24.37.pngScreenshot 2020-03-31 at 08.24.46.png

Like 12 secs...

The instance was linked to Confluence in cloud, but no Application Links exist.

 

No errors in atlassian-jira.log

 

Typically, its TTFB - I guess thats because JIRA needs to create the "file" as its not a static file.

 

Time to first byte (TTFB) is a measurement used as an indication of the responsiveness of a webserver or other network resource. TTFB measures the duration from the user or client making an HTTP request to the first byte of the page being received by the client's browser.

1 answer

0 votes

Hello @Normann_P__Nielsen__Netic_

Thank you for reaching out.

In fact, performance issues with loading batch.js and batch.css files can be caused by several reasons:

  • Jira was upgraded recently or Jira plugins were updated recently.
  • Jira runs under load, many concurrent users 100+.
  • Jira has many plugins injecting code in batch.js/batch.css
  • Jira runs on default Java CodeCache value - 240MB
  • Jira runs behind a reverse proxy on a high latency network.

The best way to properly diagnose the problem and fix it would be to follow the steps of the documentation below:

Troubleshoot long page load times in Jira server 

Can you please check if any of the scenarios and workarounds provided in the documentation work for you?

Additionally, can you confirm if you are using any Jira version between 7.8 and 7.12? There's a bug in those versions that cause the exact scenario you are facing:

Loading of batch.js and batch.css is slow making page load time longer in JIRA

Let us know if you have any questions.

Hi,

 

10 years of Jira here :-)

 

Of all the above only "Jira was upgraded recently or Jira plugins were updated recently." applies partly - as a Cloud backup was imported on a clean 8.8

 

Jira runs under load, many concurrent users 100+. - No (25 Users, 1 project, 50 issues)

Jira has many plugins injecting code in batch.js/batch.css - No

Jira runs on default Java CodeCache value - 240MB - No

JVM_CODE_CACHE_ARGS='-XX:InitialCodeCacheSize=32m -XX:ReservedCodeCacheSize=512m'

 

Jira runs behind a reverse proxy on a high latency network. - Its behind a proxy yes, but not a  high latency network

Some testing later.... eliminating proxy and starting from JIRA Sagfe mode..

Its the Mindville Insight plugin....

Support Issue made.

I'm glad to know you were able to identify the plugin that is causing your performance issue, @Normann_P__Nielsen__Netic_

Let us know if you need any further help.

@Normann_P__Nielsen__Netic_ 
Is there any Feedback from Mindville so far ?

Sure, they have released a few versions since. We dont see the issue anymore. batch.js is still huge/slow - but thats more a common issue

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.8
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,347 views 11 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you