jira.ixsystems unbearably slow
Description
Problem/Justification
Impact
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
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:
After logging in, I click over to this "jira.ixsystems unbearably slow" ticket and the URL changes, thus forcing redownload:
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
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
Troubleshoot long page load times in Jira server
Batch CSS and Javascript generation causes long delays in page loading after plugin modification
Loading of batch.js and batch.css is slow making page load time longer in Jira
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.
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.