Skip to content

Commit

Permalink
Adjust memory limits bassed on grafana metrics (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 authored Oct 10, 2024
1 parent 0104940 commit 07f1b19
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions jobs/fastcgi.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ job "fastcgi" {

sidecar_task {
config {
memory_hard_limit = 300
memory_hard_limit = 70
}
resources {
memory = 20
memory = 50
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions jobs/http.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ job "http" {

resources {
memory = 100
memory_max = 400
memory_max = 130
}

env {
Expand Down Expand Up @@ -108,10 +108,10 @@ job "http" {

sidecar_task {
config {
memory_hard_limit = 500
memory_hard_limit = 60
}
resources {
memory = 20
memory = 40
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions jobs/memcached.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ job "memcached" {
}

resources {
memory = 100
memory = 80
}
}

Expand All @@ -36,7 +36,7 @@ job "memcached" {

sidecar_task {
config {
memory_hard_limit = 300
memory_hard_limit = 40
}
resources {
memory = 20
Expand Down
4 changes: 2 additions & 2 deletions jobs/mysql.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ job "mysql" {
}

resources {
memory = 400
memory = 500
memory_max = 700
}

Expand Down Expand Up @@ -75,7 +75,7 @@ job "mysql" {

sidecar_task {
config {
memory_hard_limit = 300
memory_hard_limit = 50
}
resources {
memory = 20
Expand Down

0 comments on commit 07f1b19

Please sign in to comment.