Skip to content

ETCD suddenly shuts down on AWS ECS #17192

Answered by jmhbnz
andriihlova asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @andriihlova - Thanks for your question. Based on the following log line it appears as though the etcd process was terminated from an external source:

1703850837632,"{""level"":""info"",""ts"":""2023-12-29T11:53:57.632Z"",""caller"":""osutil/interrupt_unix.go:64"",""msg"":""received signal; shutting down"",""signal"":""terminated""}"

This error means the etcd process received the SIGTERM signal, refer to this explanation of how signals work.

Note you mention that you are running on ECS. ECS is known to send the SIGTERM signal for application graceful shutdown (https://aws.amazon.com/blogs/containers/graceful-shutdowns-with-ecs) but there could be other reasons why this signal was sent.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andriihlova
Comment options

Answer selected by andriihlova
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants