eosd fails to start after some period of time.
How to replicate:
- start eosd.
- create some accounts
- create some contracts
- push some messages
- kill eosd
- wait for ~30 minutes.
- start eosd
Error is as below:

This could be because the process was shutdown inappropriately. But still the process should be able to restart.
It was caused by an improper shutdown of process.
Eosd need to improve its database consistency.
Use rm -rf data-dir/blockchain/ to walk around this problem.
On 4 Sep 2017, at 2:39 PM, Bezwada Satyapravin [email protected] wrote:
This could be because the process was shutdown inappropriately. But still the process should be able to restart.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/328#issuecomment-326878012, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad6ZPppyuNBuFl7fyqq3XhAo0J_FldOCks5se5sogaJpZM4PLgQ7.
How did you kill eosd?
^C should do a clean shutdown.
Will look into other ways of signal clean shutdown.
I killed it using kill -9 <pid>.
That's a really heavy hammer. When you have multiple instances you can kill them all with pkill eosd and give them some time to shut down cleanly.
The built in signal handler traps SIGINT (2) and SIGTERM (15) to do orderly shutdowns. If you start the eosd with the launcher, you can use launcher -k [signum] to terminate all that it started.
Kill -9 not supported at the moment without a resync or replay. Closing.