Lowering MySQL threads for confluence

I'm currently testing confluence as an internal documentation store and intranet for a very small company. In my testing I've found that Confluence seems to hold several 10+ mysql threads open at all time. I realize this is probably for performance, but in our case it's unlikely there will ever be more than two people on the site at a time, and the total number of employees can be counted on one hand.


Is there anyway to tune the number of connections used by confluence like you can in JIRA?


1 answer

Hi Jonathon!

Maybe you can set the number of threads on MySQL itself.

Try changing some parameters on my.cnf, like:

thread_cache_size = 0
wait_timeout = 60
interactive_timeout = 60
max_delayed_threads = 0

This will may help with the idle or unused connections with MySQL.

Hope it helps!

Unfortunately these settings did not change the number of connections remaining open to mysql from Confluence. They also resulted in an overall performance loss (thread_cache_size=0 I assume).

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,029 views 2 13
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you