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

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

62 views 3 2
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