From b688a1bbb953a7a98934406f9e50dc8d1c08313b Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 28 Aug 2023 09:50:46 +0200 Subject: [PATCH] increase sogo RAM --- cluster/prod/app/email/config/sogo/sogo.conf.tpl | 2 +- cluster/prod/app/email/deploy/email.hcl | 6 +++--- 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 {