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

Why CTRL+C is considered as unclean shutdown #361

Closed
khelle opened this issue Aug 16, 2017 · 5 comments
Closed

Why CTRL+C is considered as unclean shutdown #361

khelle opened this issue Aug 16, 2017 · 5 comments

Comments

@khelle
Copy link

khelle commented Aug 16, 2017

As the title says - why CTRL+C is considered as unclean shutdown ?

@oxarbitrage
Copy link
Member

ctrl-c is not considered an unclean shuhtdown, the problem is sometimes it fails depending on what stage of the chain it was called. if you are short of memory the ctrl-c will never end. there are also other problems.

ctrl-c problems are also discussed at #339

@pmconrad
Copy link
Contributor

Where does it say that CTRL-C is an unclean shutdown? CTRL-C/SIGTERM is actually the correct way to do a clean shutdown.

@khelle
Copy link
Author

khelle commented Aug 17, 2017

Whenever I use CTRL+C to shutdown my witness node , the next time it starts its says "unclean shutdown detected". I do not spam CTRL+C to close it. I press it exactly once, and wait until it stops.

@oxarbitrage
Copy link
Member

how are you starting the node ? you could be short of ram, consider using a few start options to reduce blockchain size and ram, something like:

programs/witness_node/witness_node --rpc-endpoint "127.0.0.1:8090" --max-ops-per-account 100 --partial-operations true

@oxarbitrage
Copy link
Member

no further response. closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants