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

External-node in Docker ignores SIGTERM #2300

Open
yorickdowne opened this issue Jun 21, 2024 · 0 comments
Open

External-node in Docker ignores SIGTERM #2300

yorickdowne opened this issue Jun 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@yorickdowne
Copy link

🐛 Bug Report

📝 Description

The external-node image ignores SIGTERM and does not attempt a shutdown.

If stop_signal: SIGINT is added to the compose yml, then the node shuts down cleanly

In addition, clean shutdown can take close to 90s: Recommend adding stop_grace_period: 5m to the sample compose yml

🔄 Reproduction Steps

Run an external node with the sample compose at https://github.com/matter-labs/zksync-era/blob/main/docs/guides/external-node/docker-compose-examples/mainnet-external-node-docker-compose.yml, issue a docker compose down while also watching logs, observe it does not attempt to shut down, nor has enough time to do so if it did.

@yorickdowne yorickdowne added the bug Something isn't working label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant