Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Confluence temp process using 100% CPU

Anyone know why this process would keep using 100% of 2 CPU cores.

/opt/atlassian/confluence/jre/bin/java -classpath /opt/atlassian/confluence/temp/2.1.0-master-9d112c9d.jar:/opt/atlassian/confluence/confluence/WEB-INF/lib/mysql-connector-java-5.1.33-bin.jar -Xss2048k -Xmx1g synchrony.core sql

I did a clean install of the latest 6.15 on Friday and imported content via XML export/import from a 6.1.1 Space.

Everything appears to be working fine from the frontend but our monitoring shows that this process uses 100% of 2 CPU cores continually.

You can't even kill it as it respawns with a new PID every 10-15s.

2 answers

1 vote
Diego Atlassian Team May 30, 2019

Hello there!
So Mick, performance issues can be caused by a number of reasons. Plugins, memory allocation, customization and drivers for example. This process looks like that it is coming from the Database Connection Driver, which is a lead as to what is affecting your instance. Which also explains why it comes back after being killed.

For starters, we could focus on the database driver version, Mick:


Currently, we tested Confluence with driver version 5.1.42 for MySQL and it looks like we are using 5.1.33. It might be a good idea to start by changing the driver of your instance to the recommended one. This is an excerpt from our documentation:

Confluence is currently tested with the 5.1.42 driver.
The latest driver (8.x) is not currently supported.

Here is the full page:

Also, make sure that your MySQL database is Supported By Confluence 6.15.x. You can check this information right here:

For you to change the database driver we need to:

  1. Shtudown Confluence
  2. Download the MySQL driver
  3. Move or copy the *.jar file into <confluence-install>/confluence/WEB-INF/lib directory
  4. Start Confluence
  5. Wait for the instance to start
  6. Access Confluence

Here is the link to the Driver, Mick:

MySQL Connector - 5.1.42 Platform independent


Do Not Kill The Process, use the script (stop-confluence.bat for windows). Killing the Confluence process can lead to instance corruption or malfunction after restart.

Hope this helps you! Looking forward to your reply.

Thanks for the suggestions, Diego. I can report that the process did eventually stop using 100% without any changes at all but it took about 1.5 days.

Since then everything seems back to normal again.

Like Shannon Spaniol likes this

Hello @Diego we have same version of Confluence 6.15 and absolutely the same issue with 100% CPU usage even with latest mysql connector. In logs we see messages about OOM due to heap size, but it has already been increase from 1GB to 2GB. Any suggestions?


Suggest an answer

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

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
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