My team's Confluence instance, while only around 100 users, has a prolific documentation team (working for about 3 years solid). In the last few months we have started to notice decent sluggishness when accessing Confluence and requesting pages.
I have checked the following:
CATALINA_OPTS="$CATALINA_OPTS -Xms1024m -Xmx1024m -XX:MaxPermSize=384m -XX:+UseG1GC"
(I know the MaxPermSize flag is obsolete or not in favor anymore, I have yet to look into that)
On the System Information tab in our Confluence Instance the JAVA VM memory Stats:
Heap Memory Used Memory (62 %) Free Memory (38 %) 38 % Free Maximum Heap Size 1024 MB Total Allocated Memory 1024 MB Used Memory 630 MB Free Allocated Memory 393 MB Total Free Memory 393 MB Permanent Generation Memory Used Memory (85 %) Free Memory (15 %) 15 % Free Maximum PermGen 384 MB Used PermGen 326 MB
Any of this look glaringly wrong? Any suggestions on things to increase?
We are currently running Confluence 5.7 and are planning to upgrade to the latest release sometime next week.
First thing is that I had 5.7 some time ago and I noticed it was a bit pokey regardless. That said, I have my heap set to 2048MB and I also set Xss=8M (thread space). That last gave me a significant overall boost; nothing definitive... it just felt lighter and quick. There's a LOT going on in a Confluence server and thread space could get tight.
All THAT said... Just don't hesitate to head to 5.8.x. I did that and the difference in performance was dramatic. I have over 500 users with significant activity on a 4vCPU 8GB RAM Windows Server 2012R2 (yes, I have reasons for Windoze rather than Linux; some of them good ones) and it just flies. Page redraws are essentially instantaneous. Insane fast. I suspect a lot of THAT comes from move to Java 8 and Tomcat 8.
Just adding my input to the other comments. 1024 MB of heap size is a pretty low value. I understand the usage seem to be ok from the statistic, but we might have memory usage increased in certain moments.
I'd suggest you set 2048 MB for both Xms and Xmx values.
Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs