Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

DTS Infra Admin January 4, 2018

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
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 5, 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
TAGS
AUG Leaders

Atlassian Community Events