eos icon indicating copy to clipboard operation
eos copied to clipboard

Docker issue irreversible block is too old

Open macsilber opened this issue 8 years ago • 17 comments

Getting this error 1066501ms thread-0 producer_plugin.cpp:689 start_block ] Not producing block because the irreversible block is too old [age:7719466s, max:1800s]

After running docker run --name nodeos -p 8888:8888 -p 9876:9876 -t eosio/eos nodeosd.sh arg1 arg2

Even after running a docker volume rm 62f2348779b4ea12f6542a791af15ff8150cd925d48c2d79f4a766514dbd8b16

following these instructions; https://github.com/EOSIO/eos/wiki/Local-Environment#3-docker

Same occurs with: docker run --name nodeos -v ~/Apps/eos-docker-data/:/opt/eosio/bin/data-dir -p 8888:8888 -p 9876:9876 -t eosio/eos nodeosd.sh arg1 arg2

macsilber avatar May 30 '18 20:05 macsilber

same issue

hsejin314 avatar May 31 '18 08:05 hsejin314

same issue

chenji-kael avatar May 31 '18 09:05 chenji-kael

same issue

"We added a command line argument (--max-irreversible-block-age) that will cause a node to automatically stop production when the last irreversible block time is older than N seconds, an indication that there are not enough producers confirming blocks for the chain to continue forward. This option prevents producers from producing an excessive number of blocks that will need to be rationalized upon resuming production once enough producers rejoin the network."

What does this mean ?

steffanjensen avatar May 31 '18 22:05 steffanjensen

same issue

SheldonHH avatar Jun 01 '18 06:06 SheldonHH

same issue

liudliu1992 avatar Jun 01 '18 06:06 liudliu1992

Try run nodeos with --max-irreversible-block-age -1 option.

spartucus avatar Jun 01 '18 06:06 spartucus

@spartucus thanks. this works for me

prayagk avatar Jun 01 '18 09:06 prayagk

When i do "docker run --name nodeos -v /root/eos:/opt/eos/bin/data-dir -p 8888:8888 -p 9876:9876 -t eosio/eos nodeosd.sh arg1 arg2 --max-irreversible-block-age -1"

I get this error now: 1030000ms thread-0 producer_plugin.cpp:689 start_block ] Not producing block because the irreversible block is too old [age:0s, max:-1s] 1030500ms thread-0 producer_plugin.cpp:689 start_block ] Not producing block because the irreversible block is too old [age:0s, max:-1s] 1031000ms thread-0 producer_plugin.cpp:689 start_block ] Not producing block because the irreversible block is too old [age:0s, max:-1s] 1031500ms thread-0 producer_plugin.cpp:689 start_block ] Not producing block because the irreversible block is too old [age:0s, max:-1s] 1032000ms thread-0 producer_plugin.cpp:689 start_block ] Not producing block because the irreversible block is too old [age:0s, max:-1s] 1032500ms thread-0 producer_plugin.cpp:689 start_block ] Not producing block because the irreversible block is too old [age:0s, max:-1s] 1033000ms thread-0 producer_plugin.cpp:689 start_block ] Not producing block because the irreversible block is too old [age:0s, max:-1s] 1033500ms thread-0 producer_plugin.cpp:689 start_block ] Not producing block because the irreversible block is too old [age:0s, max:-1s] 1034000ms thread-0 producer_plugin.cpp:689 start_block ] Not producing block because the irreversible block is too old [age:0s, max:-1s] 1034500ms thread-0 producer_plugin.cpp:689 start_block ] Not producing block because the irreversible block is too old [age:0s, max:-1s] 1035000

steffanjensen avatar Jun 01 '18 09:06 steffanjensen

Don't know much about docker, maybe update and try again?

spartucus avatar Jun 01 '18 09:06 spartucus

my docker is updated.

steffanjensen avatar Jun 01 '18 10:06 steffanjensen

@reliefs -1 workaround isn't behaving as expected on my end either, but a higher value is

--max-irreversible-block-age 99999999

leefernandes avatar Jun 01 '18 15:06 leefernandes

I have the same problem but I also can't use Docker - I have a problem with installation at the moment -

--max-irreversible-block-age 99999999 is a docker command (?)

Heyam777 avatar Jun 02 '18 14:06 Heyam777

no it's a eos command

steffanjensen avatar Jun 03 '18 17:06 steffanjensen

My problem was, nodeos wasn't stopped wall. so I killed all of my nodeos process then I cleaned all of blocks. then i change max irreversible block and replay again

hsejin314 avatar Jun 04 '18 01:06 hsejin314

@hsejin314 how do I clean blocks... I have this error with my nodeos

474191ms thread-0   main.cpp:113                  main                 ] 10 assert_exception: Assert Exception
db.revision() >= head->block_num: fork database is inconsistent with shared memory
    {"db":0,"head":1}
    thread-0  controller.cpp:243 init

    {}
    thread-0  chain_plugin.cpp:454 plugin_startup

raymondfx avatar Jun 17 '18 07:06 raymondfx

kill nodeos process, delete all blocks/, state/and then replay the chian. (./start.sh --delete-all-blocks --hard-replay-blockchain)

hsejin314 avatar Jun 18 '18 04:06 hsejin314

close this because this is solved.

taokayan avatar Jun 22 '18 04:06 taokayan