aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-08-28 09:50:46 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-08-28 09:50:46 +0200
commitb688a1bbb953a7a98934406f9e50dc8d1c08313b (patch)
tree29f05c8566f045c123f7151e43e5f5ddab1092e2 /cluster
parent7dd815365350076d168204fbebbe8f7446cd73ad (diff)
downloadnixcfg-b688a1bbb953a7a98934406f9e50dc8d1c08313b.tar.gz
nixcfg-b688a1bbb953a7a98934406f9e50dc8d1c08313b.zip
increase sogo RAM
Diffstat (limited to 'cluster')
-rw-r--r--cluster/prod/app/email/config/sogo/sogo.conf.tpl2
-rw-r--r--cluster/prod/app/email/deploy/email.hcl6
2 files changed, 4 insertions, 4 deletions
diff --git a/cluster/prod/app/email/config/sogo/sogo.conf.tpl b/cluster/prod/app/email/config/sogo/sogo.conf.tpl
index bb87f14..3d25776 100644
--- a/cluster/prod/app/email/config/sogo/sogo.conf.tpl
+++ b/cluster/prod/app/email/config/sogo/sogo.conf.tpl
@@ -1,7 +1,7 @@
{
WONoDetach = NO;
WOWorkersCount = 3;
- SxVMemLimit = 300;
+ SxVMemLimit = 600;
WOPort = "127.0.0.1:20000";
SOGoProfileURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@{{ env "meta.site" }}.psql-proxy.service.prod.consul:5432/sogo/sogo_user_profile";
OCSFolderInfoURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@{{ env "meta.site" }}.psql-proxy.service.prod.consul:5432/sogo/sogo_folder_info";
diff --git a/cluster/prod/app/email/deploy/email.hcl b/cluster/prod/app/email/deploy/email.hcl
index f4539ae..bbe7c22 100644
--- a/cluster/prod/app/email/deploy/email.hcl
+++ b/cluster/prod/app/email/deploy/email.hcl
@@ -474,9 +474,9 @@ job "email" {
}
resources {
- cpu = 200
- memory = 500
- memory_max = 1000
+ cpu = 400
+ memory = 1500
+ memory_max = 2000
}
service {