From aa9573e3253317d98b91ecc288eaf3c2307207a4 Mon Sep 17 00:00:00 2001 From: main Date: Sun, 11 Dec 2022 14:13:36 +0100 Subject: [PATCH] Raise limits for syncthing and jellyfin Signed-off-by: main --- nomad/regions/homelab-1/job/jellyfin.hcl | 6 ++---- nomad/regions/homelab-1/job/syncthing.hcl | 10 ++++------ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/nomad/regions/homelab-1/job/jellyfin.hcl b/nomad/regions/homelab-1/job/jellyfin.hcl index 2b8d421..3f25dd2 100644 --- a/nomad/regions/homelab-1/job/jellyfin.hcl +++ b/nomad/regions/homelab-1/job/jellyfin.hcl @@ -71,10 +71,7 @@ job "jellyfin" { resources { cpu = 75 memory = 48 - } - - config { - memory_hard_limit = 96 + memory_max = 96 } } } @@ -101,6 +98,7 @@ job "jellyfin" { resources { cpu = 1024 memory = 1024 + memory_max = 2048 } volume_mount { diff --git a/nomad/regions/homelab-1/job/syncthing.hcl b/nomad/regions/homelab-1/job/syncthing.hcl index d94a2eb..99daa0d 100644 --- a/nomad/regions/homelab-1/job/syncthing.hcl +++ b/nomad/regions/homelab-1/job/syncthing.hcl @@ -66,10 +66,7 @@ job "syncthing" { resources { cpu = 75 memory = 48 - } - - config { - memory_hard_limit = 96 + memory_max = 96 } } } @@ -85,8 +82,9 @@ job "syncthing" { } resources { - cpu = 128 - memory = 128 + cpu = 512 + memory = 512 + memory_max = 1024 } volume_mount {