Skip to content

Commit

Permalink
storage: Increase healthcheck intervals and timeouts
Browse files Browse the repository at this point in the history
Temporarily adjust healthcheck settings in docker-compose file to mitigate
issue #2215, until a root cause is found and resolved.
Changes include:
- Increase interval from 2s to 5s
- Increase timeout from 1s to 5s
- Increase start_period from 10s to 20s

Refs: nspcc-dev/neofs-node#2215

Signed-off-by: Oleg Kulachenko <[email protected]>
  • Loading branch information
vvarg229 committed Apr 18, 2023
1 parent 2d67bc2 commit f70bad3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions services/storage/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ services:
- NEOFS_NODE_ATTRIBUTE_2=Price:22
healthcheck:
test: ["CMD-SHELL", "/healthcheck.sh"]
interval: 2s
timeout: 1s
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
start_period: 20s

storage02:
image: ${NODE_IMAGE}:${NODE_VERSION}
Expand Down Expand Up @@ -73,10 +73,10 @@ services:
- NEOFS_NODE_ATTRIBUTE_2=Price:33
healthcheck:
test: ["CMD-SHELL", "/healthcheck.sh"]
interval: 2s
timeout: 1s
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
start_period: 20s

storage03:
image: ${NODE_IMAGE}:${NODE_VERSION}
Expand Down Expand Up @@ -111,10 +111,10 @@ services:
- NEOFS_NODE_ATTRIBUTE_2=Price:11
healthcheck:
test: ["CMD-SHELL", "/healthcheck.sh"]
interval: 2s
timeout: 1s
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
start_period: 20s

storage04:
image: ${NODE_IMAGE}:${NODE_VERSION}
Expand Down Expand Up @@ -155,10 +155,10 @@ services:
- NEOFS_NODE_ATTRIBUTE_2=Price:44
healthcheck:
test: ["CMD-SHELL", "/healthcheck.sh"]
interval: 2s
timeout: 1s
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
start_period: 20s

sn-healthcheck:
container_name: sn-healthcheck
Expand Down

0 comments on commit f70bad3

Please sign in to comment.