aboutsummaryrefslogtreecommitdiff
path: root/app/config
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-11-17 11:49:12 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-11-22 12:40:51 +0100
commitc19cadf3535f6c5a829251357306ab7ad681ab27 (patch)
treec66b529ec29390baebdb5a97a6d67f094c11004c /app/config
parent1bb9c7ce192dc962da15d6e0662d36755c9511e0 (diff)
downloadinfrastructure-c19cadf3535f6c5a829251357306ab7ad681ab27.tar.gz
infrastructure-c19cadf3535f6c5a829251357306ab7ad681ab27.zip
Fix sogo conf to match RAM usage
To do the math: SoGo SxVMemLimit * SoGo WOWorkersCount < Nomad Memory Limit Before we had 384 * 10 >>> 1000 Now we have 300 * 3 < 1000
Diffstat (limited to 'app/config')
-rw-r--r--app/config/configuration/email/sogo/sogo.conf.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/config/configuration/email/sogo/sogo.conf.tpl b/app/config/configuration/email/sogo/sogo.conf.tpl
index d4261e5..ab4f8f5 100644
--- a/app/config/configuration/email/sogo/sogo.conf.tpl
+++ b/app/config/configuration/email/sogo/sogo.conf.tpl
@@ -1,6 +1,7 @@
{
WONoDetach = NO;
- WOWorkersCount = 10;
+ WOWorkersCount = 3;
+ SxVMemLimit = 300;
WOPort = "127.0.0.1:20000";
SOGoProfileURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@psql-proxy.service.2.cluster.deuxfleurs.fr:5432/sogo/sogo_user_profile";
OCSFolderInfoURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@psql-proxy.service.2.cluster.deuxfleurs.fr:5432/sogo/sogo_folder_info";