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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Goff-Dupont
Published 2 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

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