Confluence Max thread and SQL server Connection Pool

Hi there

Confluene instance become very unstable since upgrade to version 5.5.2. I noticed the number of threads increases over 300 sometimes over 400 and Confluence fails on all browser. Thread dumps from the prvious instance shows that number of threads in BLOCKED state.

I've not capped the max threads in server.xml, but I increased database connection pool value to 220, still this has not made huge difference and still confluence goes down very frequently.

Confleunce runs on VM Windows 2008 R2 server with over 2000 users, but the concurrent usage may be less.

Last few days I noticed the number of live threads increases so quickly and Confluence dies.

How do we stop the thread peaks?

 

3 answers

Hi Mani, have you checked if Crowd Sync is running in the background when these problems occur? We've experienced very similar problems on Windows 2008 R2 and MSSQL Server when Crowd was synchronizing.

There is a slight increase in number of threads (around 15 to 20)  when its sync with Crowd, as per Atlassian the Crowd sync is expensive process and suggesting to avoid during production hours. I will try moving the sync schedule outside business hours and see if that helps.

Hi Felix, How do I change Crowd sync interval ? should I login with local account (Internal directory) to change external directory settings ?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

628 views 21 11
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