What is the default maxThreads and accceptCount for a plain confluence install?

We would like to update config values to enable concurrent hits of 5000 http requests. Right now the config values are:

 

1. config/server.xml (Tomcat8)

<!-- Apache Proxy Connector -->
<Connector acceptCount="100" connectionTimeout="20000"
maxHttpHeaderSize="8192" maxThreads="150"

 

2. httpd.conf (Apache2)

Timeout 120
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5

<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
</IfModule>

 

3. DB connection pool size

<pool-min-size>40</pool-min-size>
<pool-max-size>40</pool-max-size>
<pool-max-wait>30000</pool-max-wait>
<pool-max-idle>20</pool-max-idle>

 

While values for tomcat and apache configs are changed, I'm expecting db connection pool entries would have to be modified too. Could someone from the community suggest the appropriate values for the configs from their experience.

1 answer

0 votes
Ann Worley Atlassian Team Jan 05, 2018

Hi,

The default Apache proxy settings for Confluence are documented in: Proxying Atlassian server applications with Apache HTTP Server (mod_proxy_http)

Please let us know if the settings you are looking for are not there so we can help track them down.

To find the database pool to HTTP thread ratio for your environment please see the instructions at: Confluence slows and times out during periods of high load due to database connection pool

Thanks,

Ann

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

108 views 3 4
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