6

My database became corrupted and I had to reindex:

bitcoind --daemon -reindex

It takes my computer quite some time and CPU power. It's been running for an hour but it will take at least 4 more hours to finish. With this high a load, I can't do my work on it, so I'd like to interrupt this process without losing the current progress, and continue later. Is that possible?

8

Yes. You can just stop bitcoind (using bitcoin-cli stop, or just killing it with SIGINT). Next time invoke it without -reindex, and it will continue from where it left off. If you do pass -reindex again, it will start over.

  • 1
    If on Unix, you could also suspend it by "killing" with SIGSTOP, and then "kill" with SIGCONT to resume. – Nate Eldredge Dec 2 '14 at 22:34
  • I have started reindex and after 92% done and again same error come – Codebrekers Jun 19 '18 at 13:07
  • What error? It may be CPU overheating, or a disk error. Bitcoin's validation is very intensive. – Pieter Wuille Jun 19 '18 at 15:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.