From c19cadf3535f6c5a829251357306ab7ad681ab27 Mon Sep 17 00:00:00 2001 From: Quentin Date: Tue, 17 Nov 2020 11:49:12 +0100 Subject: 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 --- app/config/configuration/email/sogo/sogo.conf.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/config/configuration/email') 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"; -- cgit v1.2.3