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

This widget could not be displayed.

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
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

466 views 6 6
Join discussion

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