From 63c73ea8c9539f17bd160b04b3ed946e97b61a53 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 9 Oct 2015 10:18:58 +0200 Subject: SONAR-6914 Change default sizes of HTTP and DB pools --- sonar-application/src/main/assembly/conf/sonar.properties | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sonar-application/src') diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties index 2b607399e2f..19056fbc3aa 100644 --- a/sonar-application/src/main/assembly/conf/sonar.properties +++ b/sonar-application/src/main/assembly/conf/sonar.properties @@ -61,7 +61,10 @@ #----- Connection pool settings # The maximum number of active connections that can be allocated # at the same time, or negative for no limit. -#sonar.jdbc.maxActive=50 +# The recommended value is 1.2 * max sizes of HTTP/HTTPS pools. For example if both HTTP and +# HTTPS ports are enabled with default sizes (50, see properties sonar.web.http.maxThreads +# and sonar.web.https.maxThreads) then sonar.jdbc.maxActive should be 1.2 * (50 + 50) = 120. +#sonar.jdbc.maxActive=60 # The maximum number of connections that can remain idle in the # pool, without extra ones being released, or negative for no limit. -- cgit v1.2.3