Skip to content

Commit

Permalink
Bump stack size on control-plane-agent
Browse files Browse the repository at this point in the history
We found a crash where the stack size was 3980. This was awfully close
to 4096. 6000 is definitely a large bound but it is a safe bound.
  • Loading branch information
labbott committed Oct 2, 2024
1 parent b6e4a37 commit 679878a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/gimlet/base.toml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ notifications = ["socket"]
name = "task-control-plane-agent"
priority = 6
max-sizes = {flash = 131072, ram = 32768}
stacksize = 4096
# This can probably overkill and can be tuned later
stacksize = 6000
start = true
uses = ["usart1"]
task-slots = [
Expand Down
3 changes: 2 additions & 1 deletion app/psc/base.toml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ notifications = ["spi-irq"]
name = "task-control-plane-agent"
priority = 5
max-sizes = {flash = 131072, ram = 32768}
stacksize = 4096
# This is probably a bit overkill and can be tuned later
stacksize = 6000
start = true
uses = []
task-slots = [
Expand Down
1 change: 1 addition & 0 deletions app/sidecar/base.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ task-slots = ["sys", "packrat", { seq = "sequencer" }, "jefe"]
name = "task-control-plane-agent"
priority = 7
max-sizes = {flash = 142900, ram = 65536 }
# This is a big number -- do we need to tune this?
stacksize = 12000
start = true
uses = []
Expand Down

0 comments on commit 679878a

Please sign in to comment.