Main Menu

How to shut down a node

Started by Chronos, May 20, 2016, 09:56:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

abit

Quote from: Chronos on May 20, 2016, 10:38:54 PM
Hey, that worked! Thanks, Chronos!
Hi Chronos, are you Chronos?  ???
BitShares committee member: abit
BitShares witness: in.abit

pc

Quote from: 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?

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.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 [url="http://bitcoin.quisquis.de"]http://bitcoin.quisquis.de[/url]

Chronos

Hey, that worked! Thanks, Chronos!

Chronos

Hi Chronos, great question! Just press Ctrl+C to shut down your node.

Chronos

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!