quorum icon indicating copy to clipboard operation
quorum copied to clipboard

Block creation stops after some time

Open ghost opened this issue 9 years ago • 3 comments

Geth Version: 1.5.0-unstable Git Commit: 6d0bd810484f4c56f7c9aebc229e1bdc56832ced Protocol Versions: [63 62] Network Id: 1 Go Version: go1.7.4

3 node network vote threshold 3

2 Voter nodes 1 Blockmaker/Voter node Blocks are created as expected then intermittently stop being produced leaving the console of each node with a long list of txs and no block imported messages:

I0121 19:14:25.660609 internal/ethapi/api.go:1264] Tx(83d753f7202b7d1e6d620d650b1de0327c4ea0874e9d2ef337ff62ff2b61a389) to: &0000000000000000000000000000000000000020
I0121 19:14:34.659610 internal/ethapi/api.go:1264] Tx(d7c79e1287596dafa2e86b67f72bb802bad170f26f002f57ac7dd4432e1dcbf7) to: &0000000000000000000000000000000000000020
I0121 19:14:42.659948 internal/ethapi/api.go:1264] Tx(09eb1594d4022738d144177280f2a6cabb1968e086537a32a340290f5b09a9d0) to: &0000000000000000000000000000000000000020
I0121 19:14:51.660199 internal/ethapi/api.go:1264] Tx(b39171f8b2f600c5f5ee9a61c665b4c8d70f6a32061b461773f014429c98d82f) to: &0000000000000000000000000000000000000020
I0121 19:15:00.660210 internal/ethapi/api.go:1264] Tx(95c3481304b0cddf93cddba72a45576d09fda491da6d35de62d0ff1f8576b40f) to: &0000000000000000000000000000000000000020
I0121 19:15:03.660904 internal/ethapi/api.go:1264] Tx(64ec3674b496cd43b0d71f9095df0501ac71ed21d82416dbf47f6d6f79dea5d5) to: &0000000000000000000000000000000000000020
I0121 19:15:09.661075 internal/ethapi/api.go:1264] Tx(793b8581aa556956539b63a31bfdde0ff6d5444a717ed91ac1c0aed1d18c25c1) to: &0000000000000000000000000000000000000020
I0121 19:15:12.661240 internal/ethapi/api.go:1264] Tx(73b40ebf1ccdb612f97efc2400635dc9743ab5386c7814063713101958e68bca) to: &0000000000000000000000000000000000000020
I0121 19:15:18.662900 internal/ethapi/api.go:1264] Tx(d5990a140a37a6f3ea4c678e0c898f57ff3df78ca52baf4cc56a57b463558fe1) to: &0000000000000000000000000000000000000020
I0121 19:15:21.662153 internal/ethapi/api.go:1264] Tx(ecbb55d4e2216784af76314a46512b19195190bb259f98fb98d30b138aff9b72) to: &0000000000000000000000000000000000000020
I0121 19:15:24.661788 internal/ethapi/api.go:1264] Tx(a8f75c5d89985f6dca95b4fda6701f56347547ab74da5a9e1acdf519cf6c0d00) to: &0000000000000000000000000000000000000020
I0121 19:15:33.662849 internal/ethapi/api.go:1264] Tx(87d4e98edc7797dbb649cc2c1b413f7d7275749c954e052571c1ab3a581f3f30) to: &0000000000000000000000000000000000000020
I0121 19:15:42.663673 internal/ethapi/api.go:1264] Tx(41c681eb76e2aed34f96fd18bd7742237ebd6643f5e0881a4c471d82fb8a5a99) to: &0000000000000000000000000000000000000020
I0121 19:15:50.663912 internal/ethapi/api.go:1264] Tx(abe0ab632e113e12af678ad0079336c2e669611382b1f1105d259b55bd73d5ec) to: &0000000000000000000000000000000000000020
I0121 19:15:58.664577 internal/ethapi/api.go:1264] Tx(4e6285d601f6c8fe4a4998060acd533bd29f0af4959b3d7d3698d31c2204cde8) to: &0000000000000000000000000000000000000020
I0121 19:16:07.664887 internal/ethapi/api.go:1264] Tx(7433452e149ef2855b69b4cf70e87cebb1d4d0f497133c643330ceee9e90b326) to: &0000000000000000000000000000000000000020
I0121 19:16:14.665266 internal/ethapi/api.go:1264] Tx(842ee45bada094b6d2d423b0cf58c60dd096e774eccca88de04af50aa6b52912) to: &0000000000000000000000000000000000000020

When restarting the Blockmaker/Voter node, block creation continues but blocks are not synced to remaining voting nodes, console output shows same never ending list of txs as illustrated above.

After restarting the bootnode and repeatedly restarting the 2 voter nodes, they were able to sync up and continue importing blocks, however I suspect the blockmaker will stop producing blocks however again after some time the BlockMaker/Voter node (I presume) ceases to produce blocks.

Any help or ideas are greatly appreciated!

ghost avatar Jan 21 '17 19:01 ghost

Hi @etherai, are you able to provide the start script as well as the logs (verbosity set to 6 if possible)?

tylobban avatar Jan 22 '17 15:01 tylobban

👍

Below the startup. It worked perfectly for 13800 +/- blocks.

I am running with --verbosity 6 next time.

If the commands look too weird or you need clarification, please, do ask.

#### The common options
COMMON_OPTS="--networkid 23723 --port 20000 --rpc --rpcaddr 0.0.0.0 --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum --rpcport 21000"

#### We need to issue an special order for each node
$CURRENT_DIR/../02-deploy/03-launch/geth 0 --bootnodes $(get_bootnodes 0) $COMMON_OPTS  \
	--voteaccount "\"0x$(get_address $ASSETS_DIR/0_address_0)\"" \
	--votepassword "\"\"" \
	--blockmakeraccount "\"0x$(get_address $ASSETS_DIR/0_address_1)\"" \
	--blockmakerpassword "\"\"" \
	--minblocktime 1 \
	--maxblocktime 2
$CURRENT_DIR/../02-deploy/03-launch/geth 1 --bootnodes $(get_bootnodes 1) $COMMON_OPTS \
	--voteaccount "\"0x$(get_address $ASSETS_DIR/1_address_0)\"" \
	--votepassword "\"\"" \
	--blockmakeraccount "\"0x$(get_address $ASSETS_DIR/1_address_1)\"" \
	--blockmakerpassword "\"\"" \
	--minblocktime 1 \
	--maxblocktime 2
$CURRENT_DIR/../02-deploy/03-launch/geth 2 --bootnodes $(get_bootnodes 2) $COMMON_OPTS \
	--voteaccount "\"0x$(get_address $ASSETS_DIR/2_address_0)\"" \
	--votepassword "\"\"" \
	--blockmakeraccount "\"0x$(get_address $ASSETS_DIR/2_address_1)\"" \
	--blockmakerpassword "\"\"" \
	--minblocktime 1 \
	--maxblocktime 2
$CURRENT_DIR/../02-deploy/03-launch/geth 3 --bootnodes $(get_bootnodes 3) $COMMON_OPTS \
	--voteaccount "\"0x$(get_address $ASSETS_DIR/3_address_0)\"" \
	--votepassword "\"\""
$CURRENT_DIR/../02-deploy/03-launch/geth 4 --bootnodes $(get_bootnodes 4) $COMMON_OPTS \
	--voteaccount "\"0x$(get_address $ASSETS_DIR/4_address_0)\"" \
	--votepassword "\"\""
$CURRENT_DIR/../02-deploy/03-launch/geth 5 --bootnodes $(get_bootnodes 5) $COMMON_OPTS
$CURRENT_DIR/../02-deploy/03-launch/geth 6 --bootnodes $(get_bootnodes 6) $COMMON_OPTS

ghost avatar Feb 13 '17 21:02 ghost

@etherai this has now been resolved in the latest Quorum release. Please let us know if you see any issues. Thanks!

tylobban avatar Mar 07 '17 18:03 tylobban