Slow log-in at the first connection to Confluence
Asked by Sharad Ahlawat:

We just upgraded to 7.3.0 because of a security patch. After the upgrade, we noticed a strange problem.

1. If users don't log in, just establishing the first Confluence connection to the root directory would take 40 seconds to get the first page display.

2. Under the same condition (no user login), if users visit any specific page (ie. not root cause), we do not see the same delay.

3. If users log in, we do not see the same delay in either root directory or any specific page.

We did a little analysis and found Confluence would trigger a module called quickload (funny, it is totally the opposite) and slow down the whole Confluence in #1 (no user log in, and open the root directory). The same module is not triggered in #2 or #3.

Anyone knows how to disable this quickload or how to fix this problem? We were using 6.15.0 and did not see the same problem.


Answers:
author: Sharad Ahlawat
body: Is there a way I can downgrade from 7.13.0 to 7.12.0 or even 6.15.x to see if I can resolve this problem? We did not have this problem in 6.15.4.


author: Fadoua
body: [@Sharad Ahlawat](/t5/user/viewprofilepage/user-id/1254779)

What are you seeing on the logs?

Can you hide any personal info copy/paste some lines from the logs please?

Best,

Fadoua

comments: author: Sharad Ahlawat
body: I reset the catalina.out log and then connect to the root directory. Waited 40 seconds to get the page up. No log is ever recorded at catalina.out.

root@ip-172-31-0-248:/opt/atlassian/confluence/logs# ls -al catalina.out-rw-r--r-- 1 root root 0 Sep 19 01:59 catalina.out

=== connect to <https://docs.pica8.com>

=== waited 40 seconds for the page to be rendered.

root@ip-172-31-0-248:/opt/atlassian/confluence/logs# date

Sun Sep 19 02:00:35 UTC 2021

root@ip-172-31-0-248:/opt/atlassian/confluence/logs# ls -al catalina.out

-rw-r--r-- 1 root root 0 Sep 19 01:59 catalina.out

In the meantime, I checked /var/atlassian/application-data/confluence/logs.

In atlassian-confluence.log, there are repetitive warnings. I am not sure if these are related.

2021-09-19 01:35:40,583 WARN \[http-nio-8090-exec-29\] \[webresource\] requireWebResource requiring something that doesn't look like the web resource "confluence.macros.newcode.macro.mobile", it will be ignored.

-- referer: <https://docs.pica8.com/plugins/servlet/mobile?contentId=3084964> \| url: /rest/mobile/1.0/content/3084964 \| traceId: 218c8d5728e03dbf \| userName: anonymous

2021-09-19 01:45:34,535 WARN \[http-nio-8090-exec-13\] \[webresource\] requireWebResource requiring something that doesn't look like the web resource "confluence.macros.newcode.macro.mobile", it will be ignored.

-- referer: <https://docs.pica8.com/plugins/servlet/mobile?contentId=41717191> \| url: /rest/mobile/1.0/content/41717191 \| traceId: 0df084f008cef894 \| userName: anonymous

2021-09-19 01:45:34,538 WARN \[http-nio-8090-exec-13\] \[webresource\] requireWebResource requiring something that doesn't look like the web resource "confluence.macros.newcode.macro.mobile", it will be ignored.

-- referer: <https://docs.pica8.com/plugins/servlet/mobile?contentId=41717191> \| url: /rest/mobile/1.0/content/41717191 \| traceId: 0df084f008cef894 \| userName: anonymous

2021-09-19 02:00:51,524 WARN \[http-nio-8090-exec-39\] \[confluence.util.profiling.DefaultActivityMonitor\] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1632016790304, threadId=1751, threadName='http-nio-8090-exec-39', userId='\<unknown\>', type='web-request', summary='/'}

-- url: / \| traceId: e360cb1708132321 \| userName: anonymous


author: Fadoua
body: In Confluence logs we mainly worry about Errors. WARN are not critical.

Did you see the following page:

<https://confluence.atlassian.com/doc/confluence-7-3-upgrade-notes-983794548.html>

Best,

Fadoua


author: Sharad Ahlawat
body: I just read through it, but cannot see anything might be related to what we are seeing. We just upgraded from 6.15, and have been using MySQL. Nothing seems to be alerting in the upgrade notes to our configuration.


author: Sharad Ahlawat
body: If you can check the following three links (of the same Confluence server), you can see the difference.

<https://docs.pica8.com>

<https://docs.pica8.com/display/PicOS412sp/Release+Notes+for+PICOS+4.1>

<https://docs.pica8.com/display/PicOS412sp/Hardware+Guides>


author: Fadoua
body: Can you try to disable Synchrony and see if you will still experience the same problem?


author: Sharad Ahlawat
body: The Collaborative Editing mode was turned off and Synchrony was never enabled. ![Screen Shot 2021-09-18 at 7.43.16 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/160948iED5E7B25F6EBE034/image-size/large?v=v2&px=999 "Screen Shot 2021-09-18 at 7.43.16 PM.png")


author: Fadoua
body: interesting!!! Even though it is disabled you are having this issue.

Let me go through what you shared and check some documents then get back to you tomorrow evening.

Best,

Fadoua


author: Sharad Ahlawat
body: We found the Confluence program was stuck at "Quickload" for 40 seconds before it returns. Is there a way to disable this "Quickload" module?


author: Fadoua
body: that is exactly what I want to search


author: Sharad Ahlawat
body: Thank you for your help. I will wait for your reply. In the meantime, I will try turning on the collaborative mode and then turning it off. See if that makes any difference.


author: Sharad Ahlawat
body: Tried turning on the Collaborative Editing (worked)

Then tried to restart Synchrony 2 minutes after the Collaborative Editing is turned on. It failed with ERROR.

Then I turned off the Collaborative Editing (worked)

Then logged out from my account and tried <https://docs.pica8.com>. The problem is still the same.


author: Fadoua
body: Concurring editing can make your Confluence slow sometimes. I tried to look for information related to Quickload wasn't able to find anything.

I tagged Atlassian Engineers so that you can get the assistance you need.

All the best,

Fadoua


author: Shannon S
body: Hello [@Fadoua](/t5/user/viewprofilepage/user-id/655791) Thank you for escalating this to us!

[@Sharad Ahlawat](/t5/user/viewprofilepage/user-id/1254779), I'd like us to take a look at this in support, so we can look at your server logs. I've raised a ticket for you now. Please keep an eye in your email for that ticket number!

Take care,

Shannon


Tags: atl-rvw

confluence-server

server