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
This commit is contained in:
Quentin 2020-11-17 11:49:12 +01:00
parent 1bb9c7ce19
commit c19cadf353
2 changed files with 3 additions and 2 deletions

View File

@ -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";

View File

@ -424,7 +424,7 @@ job "email" {
]
}
env {
FAKE = 2
FAKE = 1
}
/* Workaround as there is no consul source and no way to template recursively... */