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
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,162 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