To connect to the ethereum test network and sync the blockchain, I run:
parity --chain testnet
When I have to stop at some point, I do Ctrl+C and it says:
Finishing work, please wait… and quits
However when I check for processes running, I still see the process running:
/usr/local/bin/parity sync
I am doing kill -9 <pid>
to kill the process. There has to be a better way. I couldn't find anything in the docs. What is a clean way to stop the node?
Best Answer
The answer is: Ctrl+C+Patience.
I can reproduce this behaviour. The problem is the client processing a network DoS attack. It had been spammed for several weeks. You need to wait for a couple of minutes. Sometimes 10-15.
Yesterday (Oct-19, 2016) was a hard fork to mitigate that attack by increasing gas costs for several operations. After block 2,463,000 your synchronization process will go back to normal and Ctrl+C will work without the magic Patience component.