BitShares Forum

Main => Stakeholder Proposals => Topic started by: Chronos on May 20, 2016, 09:56:38 pm

Title: How to shut down a node
Post by: Chronos on May 20, 2016, 09:56:38 pm
Simple question. I have a node running, but if I kill the process, the entire blockchain gets replayed when I start up again. How do I gracefully shut down a node so that this doesn't happen?

Thanks!
Title: Re: How to shut down a node
Post by: Chronos on May 20, 2016, 10:38:30 pm
Hi Chronos, great question! Just press Ctrl+C to shut down your node.
Title: Re: How to shut down a node
Post by: Chronos on May 20, 2016, 10:38:54 pm
Hey, that worked! Thanks, Chronos!
Title: Re: How to shut down a node
Post by: pc on May 21, 2016, 05:37:37 am
Simple question. I have a node running, but if I kill the process, the entire blockchain gets replayed when I start up again. How do I gracefully shut down a node so that this doesn't happen?

Killing the process with SIGTERM (not SIGKILL) will make the node save its internal state to disk and exit cleanly. CTRL-C sends SIGTERM in a terminal session, so that works too.
Title: Re: How to shut down a node
Post by: abit on May 22, 2016, 08:19:57 pm
Hey, that worked! Thanks, Chronos!
Hi Chronos, are you Chronos?  ???