Revert "perfs: decrease CPU"

This reverts commit 6ea5de0315.
This commit is contained in:
vincent 2024-10-29 19:21:05 +01:00
parent c1e48d4ace
commit 1ea094aa6e
7 changed files with 7 additions and 12 deletions

View File

@ -111,6 +111,7 @@ job "jellyfin" {
resources { resources {
memory = 2000 memory = 2000
memory_max = 4000 memory_max = 4000
cpu = 3000
} }
} }

View File

@ -86,7 +86,7 @@ job "mealie" {
env = true env = true
} }
resources { resources {
memory = 400 memory = 300
} }
} }

View File

@ -38,7 +38,6 @@ job "paperless-ng" {
} }
resources { resources {
memory = 50 memory = 50
cpu = 50
} }
} }
task "paperless-ng" { task "paperless-ng" {
@ -103,7 +102,7 @@ job "paperless-ng" {
resources { resources {
memory = 950 memory = 950
memory_max = 1500 memory_max = 1500
cpu = 100 cpu = 2000
} }
} }

View File

@ -83,7 +83,6 @@ job "tt-rss" {
env = true env = true
} }
resources { resources {
cpu = 50
memory = 150 memory = 150
} }
} }
@ -116,7 +115,6 @@ job "tt-rss" {
} }
resources { resources {
cpu = 50
memory = 150 memory = 150
} }
} }
@ -201,7 +199,6 @@ job "tt-rss" {
} }
resources { resources {
cpu = 50
memory = 50 memory = 50
} }
} }

View File

@ -45,7 +45,6 @@ job "dashboard" {
} }
resources { resources {
cpu = 50
memory = 20 memory = 20
} }
} }
@ -145,7 +144,6 @@ services:
} }
resources { resources {
cpu = 50
memory = 30 memory = 30
} }
} }

View File

@ -29,6 +29,7 @@ job "vector" {
} }
# resource limits are a good idea because you don't want your log collection to consume all resources available # resource limits are a good idea because you don't want your log collection to consume all resources available
resources { resources {
cpu = 500 # 500 MHz
memory = 256 # 256MB memory = 256 # 256MB
} }
# template with Vector's configuration # template with Vector's configuration

View File

@ -81,7 +81,6 @@ include-dir=/etc/powerdns/pdns.d
EOH EOH
} }
resources { resources {
cpu = 50
memory = 100 memory = 100
} }
} }
@ -96,9 +95,9 @@ include-dir=/etc/powerdns/pdns.d
"local/recursor.conf:/etc/powerdns/recursor.conf", "local/recursor.conf:/etc/powerdns/recursor.conf",
] ]
} }
template { template{
destination = "local/recursor.conf" destination = "local/recursor.conf"
data = <<EOH data= <<EOH
config-dir=/etc/powerdns config-dir=/etc/powerdns
dnssec=off dnssec=off
forward-zones=consul=127.0.0.1:8600,ducamps.eu=192.168.1.5,1.168.192.in-addr.arpa=192.168.1.5 forward-zones=consul=127.0.0.1:8600,ducamps.eu=192.168.1.5,1.168.192.in-addr.arpa=192.168.1.5