From 98f1e34d04552ed81879bdd8129e600ba17a3be8 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 7 Nov 2023 18:56:03 +0100 Subject: [PATCH] perf: decrease memory pdns --- nomad-job/pdns-auth.nomad | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nomad-job/pdns-auth.nomad b/nomad-job/pdns-auth.nomad index 83d2f07..b153ca9 100644 --- a/nomad-job/pdns-auth.nomad +++ b/nomad-job/pdns-auth.nomad @@ -114,6 +114,10 @@ SQLALCHEMY_DATABASE_URI=postgresql://pdns-admin:{{ .Data.data.pdnsadmin }}@activ {{end}} EOH } + resources { + cpu = 100 + memory = 200 +} } task "pdns-recursor" { @@ -137,7 +141,7 @@ local-address=192.168.1.6 } resources { cpu = 100 - memory = 100 + memory = 50 } } task "keepalived" {