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 votes
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
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,123 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