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:
parent
1bb9c7ce19
commit
c19cadf353
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
WONoDetach = NO;
|
WONoDetach = NO;
|
||||||
WOWorkersCount = 10;
|
WOWorkersCount = 3;
|
||||||
|
SxVMemLimit = 300;
|
||||||
WOPort = "127.0.0.1:20000";
|
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";
|
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";
|
OCSFolderInfoURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@psql-proxy.service.2.cluster.deuxfleurs.fr:5432/sogo/sogo_folder_info";
|
||||||
|
|
|
@ -424,7 +424,7 @@ job "email" {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
env {
|
env {
|
||||||
FAKE = 2
|
FAKE = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Workaround as there is no consul source and no way to template recursively... */
|
/* Workaround as there is no consul source and no way to template recursively... */
|
||||||
|
|
Reference in a new issue