Will setting MaxConnectionsPerChild for Apache HTTP server help or hurt

While upgrading Apache HTTP Server to version 2.4 to go with Confluence 6, I noticed the MaxConnectionsPerChild setting mentioned. 

We have an issue with the Confluence server CPU usage maxing out from time to time, and have not found a permanent solution.  Currently on Confluence 5.9.9.

I am wondering if anyone has used MaxConnectionsPerChild with Apache HTTP Server used for Confluence , and what the effects (positive and negative) were.

1 answer

0 vote
Ann Worley Atlassian Team Jun 06, 2017

From this Stack Overflow post, MaxConnectionsPerChild is a workaround for memory leaks, where you are experiencing high CPU usage.

To chase down the CPU spikes, please open a ticket at https://getsupport.atlassian.com and include the top output and thread dumps as described in Thread dumps and CPU Profiling.


Ann, Thanks for the answer.

I forgot to say I have opened two or three tickets over time.  We have tried the various proferred solutions such as changing the maxtotal. We have also disabled various modules and/in various plug-ins.  The logs are not definitive

The issue returns after a while.

I saw where it said "MaxConnectionsPerChild is a workaround for memory leaks", but am wondering, if someone else has used it with Confluence, and what the experience was like for them.

Am hoping the upgrade to Apache 2.4 and Confluence 6.2 will fix it.

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

942 views 23 12
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