after new installation, confluence very slow
Asked by Hans Hoogstrate:

Good Day Community  

After windows update i got a issue, "confluence login Can't connect to your H2 database"  
As the server was older i decided to copy the backup away and install a new 2019 server and install confluence new, restore.... All OK, just....  
After reboot its taking ? 10 minutes till confluence is running, when its running login into it from a workstation is also taking some minutes.....  
Any help / tips are welcome :-)  

Thank you very much and have a great day!!!!!


Answers:
author: Hans Hoogstrate
body: if you want drop me a email, i will send the zip file (only 11mb)  
hans@connecta.net


author: Hans Hoogstrate
body: unfor. not going to drag and drop. :-(


author: AAMIR ANSARI
body: You can try to attach the Zip here. In case it's not allowed to drop the zip due to security reasons, I'd suggest opening a case with Atlassian Support.

Basically, they would require thread dumps to analyse this issue.

Thanks,

Aamir


author: Hans Hoogstrate
body: hmm..... where can i drop the zip file......


author: Hans Hoogstrate
body: Good Day Aamir, Thank you for your reply, i guess it installed the evaluation database (i done a standard installation), no seperate database.  
i will attache the requested file, thank you for your help!


author: AAMIR ANSARI
body: Hi [@Hans Hoogstrate](/t5/user/viewprofilepage/user-id/1182880)

Sounds like you are running into some performance issues. Can you please help with the below questions?

* Are you using Confluence with some external database or you are running it with the evaluation database, H2 that comes with the installation files?
* Is Confluence slow only while coming up after the reboot or slow in general?

Typically for performance issues, we would require the thread dumps captured while the performance is slow. Next time you face this issue, please collect the thread dumps using the steps listed below docs

* <https://confluence.atlassian.com/doc/generating-a-thread-dump-188095.html>

Attach the thread dumps and we will check them for you.

Thanks,

Aamir


author: Hans Hoogstrate
body: Hello Ahmed, Thank you for your reply,

H2 is NOT on the new server. Its a fresh installation windows server 2019) and Fresh installation confluence, (so the standard db software which confluence is using will be installed)


author: Rilwan Ahmed
body: Hi [@Hans Hoogstrate](/t5/user/viewprofilepage/user-id/1182880) ,

The embedded H2 database is **only** supported while you are evaluating Confluence. You must migrate to a [supported](https://confluence.atlassian.com/conf74/supported-platforms-1003129726.html)external database before using Confluence as a production system.

You can check the supported platforms here: <https://confluence.atlassian.com/doc/supported-platforms-207488198.html>

Please go through[Server Hardware Requirements Guide](https://confluence.atlassian.com/doc/server-hardware-requirements-guide-30736403.html) \& [system Requirements.](https://confluence.atlassian.com/doc/system-requirements-126517514.html)

Configure your confluence as per the standard and re-check how it is working.

You can also refer performance tuning document for more info: <https://confluence.atlassian.com/doc/performance-tuning-130289.html>


Tags: confluence-server

server