-
Notifications
You must be signed in to change notification settings - Fork 3.8k
--replay-blockchain does not work #4002
Comments
yes, I get this error too. the memory is enough: 2018-06-10T22:51:45.440148413Z CHAINBASE: Failed to pin chainbase shared memory (of size 8192 MB) in RAM. Performance degradation is possible. |
I'm getting this error too, no way to restart nodeos. Any help please? |
getting same error as well...Running inside Docker... |
I was able to solve it by deleting the nodeos data (~/.local/share/eosio/nodeos/data/) and the re-starting nodeos. Of course I lost everything I did. |
i get this error everytime i restart nodeos , after i run it with genesis.json |
same problem~ |
try --hard-replay-blockchain |
Does it work with |
does not work with --hard-replay-blockchain |
i have no way ,just can --delete-all-blocks´ |
--hard-replay-blockchain will take about 1 hour if 3,000,000 blocks in you local. And the CPU will take 100% at this period. The log will stop at 2181900ms thread-0 controller.cpp:200 init ] existing block log, attempting to replay 3011349 blocks So have a cofffee. |
Have the same error, --hard-replay-blockchain not working for me. (or i do something wrong ...) |
I am waiting for --hard-replay-blockchain 3.5 mln blocks - about 1.5 hours. |
sudo ./nodeos |
For me "--replay-blockchain --hard-replay-blockchain" seems to do the trick, it will take some time though, as @lcgogo mentioned :) |
--replay-blockchain --hard-replay-blockchain could not make work,how to solve it? |
@villesundell |
doing --replay-blockchain --hard-replay-blockchain gives me final error mssg: <3>error 2019-06-09T17:32:27.018 thread-0 main.cpp:141 main ] std::exception Whole Thread:: nodeos --replay-blockchain --hard-replay-blockchain |
I am using 1.0.2 (653034462) and recently my server got rebooted, so the nodeos database is in dirty state (this is expected, of course). However, --replay-blockchain does not make much difference:
$ nodeos --data-dir $DATADIR --config-dir $DATADIR --replay-blockchain
2630374ms thread-0 chain_plugin.cpp:206 plugin_initialize ] initializing chain plugin
2630376ms thread-0 chain_plugin.cpp:327 plugin_initialize ] Replay requested: deleting state database
CHAINBASE: Failed to pin chainbase shared memory (of size 1024 MB) in RAM. Performance degradation is possible.
2630420ms thread-0 main.cpp:123 main ] database dirty flag set (likely due to unclean shutdown): replay required
$ nodeos --data-dir $DATADIR --config-dir $DATADIR
2635889ms thread-0 chain_plugin.cpp:206 plugin_initialize ] initializing chain plugin
2635907ms thread-0 main.cpp:123 main ] database dirty flag set (likely due to unclean shutdown): replay required
In both cases, nodeos exits with code "2" (according to my Bash).
The text was updated successfully, but these errors were encountered: