It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

High spikes CPU usage for java (confluence 7.3)

We have just installed Confluence 7.3 but when I start software I see CPU Spikes caused by OpenJDK. I was trying to solve problem using this guide but no success.


1 answer

Hi Jakub,

are those spikes only occurring for some time after the start of confluence or are they visible throughout the whole day?

A few spikes after the startup are somewhat common - but they should go away after a few minutes.


The spikes are visible throughout whole the day and start as soon as the confluence run begins. Java reaches about 80% of the processor every 5 seconds. The serveris not used by users jest. We are concerned about the promotion of the server for production.

Hi Jakub,

I see - unfortunately this could have more than just one cause.

Without further knowledge of system, setup and tooling I only could recommend going through the knowledgebase article on this.

Please also have a look at the hardware requirements guide if hardware is sized correctly.

Overall, this might need further investigation by system administrators (on site) - it's quite hard to debug without deepest knowledge of the setup.


What about version. I see that 7.3 is not recommended for production environment. Maybe we should reinstall it to latest 6?

Hi Jakub,

Confluence 7.3.4 is the latest available version at the time of writing - and indeed suitable for production environments.

If you want to go with the Enterprise releae (currently 6.13.11) it would be also possible.

Depending on the actual source of your instance spiking this might not help. In case, for example, some configuration is wrong and applied to Confluence 6.13 - the issues will remain.


We have on the same server Jira instance. We do not have such problems witch Jira. Problem appears when we start confluence service. I see one difference. For Jira service use 64 Bit version of tomcat8 but for confluence service use 32 bit of tomcat9 even I've been install confluence from this source atlassian-confluence-7.3.3-x64.exe. I do not see 64 bit version of tomcat9 in confluence root directory. Is it possible that it can be a problem?

OK. Problem solved. I noticed that problem appears when I secure communications by HTTPS in proper modification of server.xml. When I shwitch off https, problem disappears. It looks, when you want to use https sever.xml is not only one modification what you need. I've just switch on https and also copied C:\Program Files\Atlassian\Confluence\jre\lib\security content from the same directory but jira instance. Now everything works as expected. No any unwanted and strange CPU utilization. 



Nice to hear - debugging without direct remote system access is always a bit hard.
Common setup to terminate SSL for confluence is a reverse proxy (via Apache or nginx) - it is somewhat easier to maintain than at Tomcat level.
In case you are interested in further reading kindly check here.

When you say CPU load peaks when SSL is enabled it might be that the physical machine is at limits - as SSL termination is one of the things that takes resources (especially CPU).

With some further reading, though, it should be possible to further elaborate on the setup and to see if it works with SSL and without the spiking CPU load.



I agree that SSL increase CPU requirements but not in such way. CPU spikes even if there was not any server connection (!! crazy). I think that it could by some different settings in file comparing to jira instance. I don not know what exaclty but it will be my further investigation. For now I'am happy that I solved the problem.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,393 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you