openethereum / parity-ethereum

The fast, light, and robust client for Ethereum-like networks.
Other
6.81k stars 1.68k forks source link

Stuck Syncing Empty Block #11826

Closed BrendanChou closed 4 years ago

BrendanChou commented 4 years ago

For a node currently synced to block 10513232, the client gets "stuck" on syncing the next block which is empty. https://etherscan.io/block/10513233 has no transactions

The node output is

INFO import Syncing #10513232
INFO import Syncing #10513233
INFO import Syncing #10513233
INFO import Syncing #10513233
INFO import Syncing #10513233
INFO import Syncing #10513233
...

With occasional messages like

WARN sync 70 -> GetNodeData: item 0/2 – slow state fetch for hash 0x...

Not enough blocks have passed for me to try doing a warp-sync using --warp-barrier

Configuration Flags:

--ws-interface 0.0.0.0 --jsonrpc-interface 0.0.0.0 --no-download --no-periodic-snapshot -d /mnt --no-ipc --max-peers 50 --min-peers 25 --db-compaction ssd --cache-size 8192 --jsonrpc-cors all --tx-queue-mem-limit 32 --tx-queue-size 16384 --tx-queue-per-sender 16384 --config /mnt/config.toml --no-persistent-txqueue --jsonrpc-server-threads 10 -l sync=debug
BrendanChou commented 4 years ago

Eventually it started recovering and syncing again. Possibly due to AWS slowness/outage