Lowering MySQL threads for confluence

Jonathon Marshall October 18, 2012

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.

*EDIT

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

https://confluence.atlassian.com/display/JIRA051/Tuning+Database+Connections

1 answer

0 votes
Bruna Griebeler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2012

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!

Jonathon Marshall October 18, 2012

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).

Jonathon Marshall October 19, 2012

Is there a configuration file similar to this one in JIRA?

https://confluence.atlassian.com/display/JIRA051/Tuning+Database+Connections

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events