Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust memory limits bassed on grafana metrics #324

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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