We are evaluating Confluence as an option for our product support site - I have used confluence for quite a while for several development projects and think it is the perfect match for what we want. So we installed confluence 4.1 into a VM in our Data Center - instantly the CPU spiked to 200% on a Dual-Proc VM with 8g of RAM O_o
Response times render it completely unusable, up to 30 seconds to load a page sometimes! I read somewhere that this may be an affect running confluence within a VM - however, I have been running a 3.5 instance in a VM with less resources (1 Proc, 4g RAM) for a year with no slowness whatsoever.
Anyone had similar expereinces or have recommendations. For the interim I am installing 3.5 in hopes that it will run at least as fast as my other instance - but I really would like to run on the latest.
FYI - There is an obscure setting in ESXi that limits RAM to 512m (under resource allocation). The VMWare ESXi essentially tells the OS that it has however much memory you have allocated, but it appears to only be exposing a 512mb page which it then swaps internally - causing some serious performance issues. Disabling this completely resolved my issue.
How much is the JAVA heap memory allocated to Confluence? You can find it under Administration > System Info. Try increasing it if it is the default 512MB.
Is there something in particular that's causing the spike? Usual culprits are scheduled XML backups, exporting to XML or trying to view certain Office files (XLSX and PPT can cause problems).
Try disabling the Office Connector and any scheduled backups as a first step. If that doesn't help, try taking external thread dumps (kill -3 <PID>) every 30 seconds for about for a period of a few minutes while it's slow and then create a support request via support.atlassian.com with those logs - we'll take a look into it.
Atlassian Support - Sydney
I had backups disabled, I didn't disable the Office Connector tho. I had the same issue with 2 different distro's of 4 (4.0/4.1) and a botched install with 3.5 - I am currently trying the WAR version of Confluence 4.1.5 rather than the standalone version (since I am also running a tomcat instance on the box for jForum - it is a more ideal deployment anyway) - If the problems continue with the WAR deployment in an otherwise stress tested Tomcat 7 I will follow through with a bunch of thread dumps and raise an issue. Thanks Michael
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
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