jira.ixsystems unbearably slow

Description

Hi,

It seems to me that jira.ixsystem.com is unbearably slow. It takes about 15 minutes to log in. I'm surprised it doesn't time out.

I have never known it to be fast and has prevented me from posting issues here.

I have sent an email to support before a few months back but it's still so.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

William Gryzbowski 
December 22, 2021 at 4:39 PM

There isn't anything to be done here.

Next year sometime Jira will be migrated to Atlassian cloud which should mitigate this.

Jordan L 
September 21, 2021 at 1:37 AM

So I went to login to Jira today and I'm following in chome inspector.

 

Downloaded batch.js on first page load.

 

Then I login and I'm presented with this batch.js download again:

https://jira.ixsystems.com/s/2879e6eadc9a851d0e1f5256b42da298-CDN/hs1z89/816001/lsbyeq/6f6b36277ab48041a95e98eeeb4989eb/_/download/contextbatch/js/atl.dashboard,atl.general,jira.general,jira.global,jira.dashboard,_super/batch.js?agile_global_admin_condition=true&jag=true&locale=en-US&slack-enabled=true&user-logged-in=true

After logging in, I click over to this "jira.ixsystems unbearably slow" ticket and the URL changes, thus forcing redownload:

https://jira.ixsystems.com/s/0a0d4119f54d6caea7e75e4717ee803b-CDN/hs1z89/816001/lsbyeq/f2d9ddc684174fa3fbf521bd35802bcf/_/download/contextbatch/js/jira.browse.project,jira.view.issue,atl.general,project.issue.navigator,jira.general,jira.global,_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true&slack-enabled=true&user-logged-in=true

 

So perhaps the issue is the changing of the URL between page requests.

 

Check -XX:ReservedCodeCacheSize=512m variable to make sure it's large enough to store all the code cache between requests.

https://confluence.atlassian.com/confkb/health-check-jvm-code-cache-979409394.html

 

 

If that doesn't work and isn't the issue

 

 Disable Batch Mode

https://developer.atlassian.com/server/confluence/web-resource-module/#batched-mode

 

 So Jira is doing something stupid here. I think Jira is trying to be "Smart" here and instead of loading all JS/CSS for all pages, it's trying to be specific and only inject the specific JS which is required for that specific page. Problem is when you load another page, it needs another JS file, so Jira injects that now and you're forced to redownload another 16MB batch.js

 

I'd suggest seeing if you can disable batch.js completely. I'm not sure if this is the setting, but it's the best I can come up with (I don't have Jira installed)

 

If that doesn't disable batch.js

 

Web Resource Context to Force concatenation

https://developer.atlassian.com/server/jira/platform/web-resource/#web-resource-contexts

 

There is a way to force Jira to load all JS files in a "context", but I feel this might end up like whack a mole, unless you know every file that might be needed to every page. If you did know this, you could probably add them all to this context and then it should be fairly static between page requests.

 

CDN needs to disable cookies for specific paths, thus will allow caching and not serve files per user

https://confluence.atlassian.com/adminjiraserver/configure-your-cdn-for-jira-data-center-974378841.html#ConfigureyourCDNforJiraDataCenter-ConfigureyourCDNtocacheassets

Jordan L 
September 20, 2021 at 7:37 AM

batch.js slow, not-cached.

Jordan L 
September 20, 2021 at 7:26 AM
(edited)

iX Systems has Jira configured poorly (i believe) which is causing batch.js (16 MB file) not to be cached, which causes 2 minute page loads for me on a 1GBPS connection in Asia.

This is an known issue with Jira, which I believe can be fixed with some tweaks on the Jira server.

Here's the chrome inspector of the issue
https://www.truenas.com/community/attachments/screenshot-from-2021-09-18-18-41-12-png.49475/

I've talked about this issue here in the forums
https://www.truenas.com/community/threads/truenas-jira-is-incredibly-slow.95398/

Here's some threads about this particular issue which is causing the Jira to be slow

Additionally I've noticed that batch.js will redownload between page loads some times. This could be due to the URL changing due to the CDN or something. It needs to load the same URL every pageload, so that people don't have to redownload this file every time.

 

ICsense NV 
May 6, 2021 at 1:57 PM

No problem. We've got a self hosted internal JIRA as well. We haven't experienced anything near this slow behaviour but obviously there's a big difference between local LAN and the internet. Certainly if you start multiplying latencies. I think the best bet to fix this is migrating to Jira Cloud instance if you planned to do so anyway.

Let me know in the ticket once you have migrated and I think I'll know pretty quickly if things are better by then.

Not Applicable

Details

Assignee

Reporter

Labels

Impact

Fix versions

Priority

More fields

Katalon Platform

Created March 5, 2021 at 1:31 PM
Updated July 1, 2022 at 5:13 PM
Resolved December 22, 2021 at 4:39 PM