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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

902 views 23 12
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