Slow batch.js loading

Normann P_ Nielsen _Netic_
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 30, 2020

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
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 1, 2020

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.

Normann P_ Nielsen _Netic_
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.
April 1, 2020

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

Normann P_ Nielsen _Netic_
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.
April 1, 2020

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

Its the Mindville Insight plugin....

Support Issue made.

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 3, 2020

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.

DVAG Support June 30, 2020

@Normann P_ Nielsen _Netic_ 
Is there any Feedback from Mindville so far ?

Normann P_ Nielsen _Netic_
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.
June 30, 2020

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

Céline TAMBURRO December 11, 2020

@Normann P_ Nielsen _Netic_  Could you please tell us on which version you are actually with Insight. We are facing the same issue, we are on version 8.6.7.  Thanks a lot

Normann P_ Nielsen _Netic_
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.
December 12, 2020

We are currently on the latest version, I dont think we have any "speed" issues as such - but lets face it, Jira is no racing horse - Insight neither....

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.8
TAGS
AUG Leaders

Atlassian Community Events