openethereum / parity-ethereum

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

Sync does not complete #11848

Closed holiman closed 4 years ago

holiman commented 4 years ago

After updating and restarting the node, it's been stuck in warp-sync for 2+ days.

Any recommendations on how to proceed in order to get synced?

Logs:

Aug 02 22:32:17 mon03.ethdevops.io parity 2020-08-02 20:32:17 UTC Starting OpenEthereum/v3.0.0-stable-698e696-20200616/x86_64-alpine-linux-musl/rustc1.44.0
Aug 02 22:32:17 mon03.ethdevops.io parity 2020-08-02 20:32:17 UTC Keys path /datadir/parity/keys/ethereum
Aug 02 22:32:17 mon03.ethdevops.io parity 2020-08-02 20:32:17 UTC DB path /datadir/parity/chains/ethereum/db/906a34e69aec8c0d
Aug 02 22:32:17 mon03.ethdevops.io parity 2020-08-02 20:32:17 UTC State DB configuration: fast
Aug 02 22:32:17 mon03.ethdevops.io parity 2020-08-02 20:32:17 UTC Operating mode: active
Aug 02 22:32:22 mon03.ethdevops.io parity 2020-08-02 20:32:22 UTC Configured for Ethereum using Ethash engine
Aug 02 22:32:24 mon03.ethdevops.io parity 2020-08-02 20:32:24 UTC Removed existing file '/datadir/parity/jsonrpc.ipc'.
Aug 02 22:32:24 mon03.ethdevops.io parity 2020-08-02 20:32:24 UTC Updated conversion rate to Ξ1 = US$376.86 (12635739 wei/gas)
Aug 02 22:32:30 mon03.ethdevops.io parity 2020-08-02 20:32:30 UTC Public node URL: enode://258a9620e6e56e2c0daa877b6351a6832b8955b0ae589f8b0bad38df0f1319abff2192315c47b9df3e2a604877fb6d26fa12b492ff12d2e1009d053a16efa866@172.31.13.2:30303
Aug 02 22:32:54 mon03.ethdevops.io parity 2020-08-02 20:32:54 UTC Syncing #10325081 0x7ba2…5524 0.00 blk/s 0.0 tx/s 0.0 Mgas/s 57+ 0 Qed #10325148 2/25 peers 75 KiB chain 212 MiB db 9 MiB queue 291 KiB sync RPC: 0 conn, 0 req/s, 0 µs
Aug 02 22:32:59 mon03.ethdevops.io parity 2020-08-02 20:32:59 UTC Syncing #10325082 0x31b4…7d39 0.20 blk/s 36.0 tx/s 2.4 Mgas/s 0+ 125 Qed #10325209 4/25 peers 252 KiB chain 213 MiB db 22 MiB queue 94 MiB sync RPC: 0 conn, 0 req/s, 0 µs
Aug 02 22:33:04 mon03.ethdevops.io parity 2020-08-02 20:33:04 UTC Syncing #10325083 0x0a4d…3ce7 0.20 blk/s 9.8 tx/s 2.4 Mgas/s 0+ 125 Qed #10325209 5/25 peers 270 KiB chain 213 MiB db 22 MiB queue 250 MiB sync RPC: 0 conn, 0 req/s, 0 µs
Aug 02 22:33:04 mon03.ethdevops.io parity 2020-08-02 20:33:04 UTC Finishing work, please wait...
Aug 02 22:34:01 mon03.ethdevops.io parity 2020-08-02 20:34:01 UTC Starting OpenEthereum/v3.0.0-stable-698e696-20200616/x86_64-alpine-linux-musl/rustc1.44.0
Aug 02 22:34:01 mon03.ethdevops.io parity 2020-08-02 20:34:01 UTC Keys path /datadir/parity/keys/ethereum
Aug 02 22:34:01 mon03.ethdevops.io parity 2020-08-02 20:34:01 UTC DB path /datadir/parity/chains/ethereum/db/906a34e69aec8c0d
Aug 02 22:34:01 mon03.ethdevops.io parity 2020-08-02 20:34:01 UTC State DB configuration: fast
Aug 02 22:34:01 mon03.ethdevops.io parity 2020-08-02 20:34:01 UTC Operating mode: active
Aug 02 22:34:01 mon03.ethdevops.io parity 2020-08-02 20:34:01 UTC Configured for Ethereum using Ethash engine
Aug 02 22:34:02 mon03.ethdevops.io parity 2020-08-02 20:34:02 UTC Updated conversion rate to Ξ1 = US$376.93 (12633393 wei/gas)
Aug 02 22:34:08 mon03.ethdevops.io parity 2020-08-02 20:34:07 UTC Public node URL: enode://258a9620e6e56e2c0daa877b6351a6832b8955b0ae589f8b0bad38df0f1319abff2192315c47b9df3e2a604877fb6d26fa12b492ff12d2e1009d053a16efa866@172.31.13.2:30303
Aug 02 22:34:24 mon03.ethdevops.io parity 2020-08-02 20:34:24 UTC Syncing snapshot 3/5437 #10325096 7/25 peers 115 KiB chain 212 MiB db 0 bytes queue 10 KiB sync RPC: 0 conn, 0 req/s, 48 µs 
...
Aug 02 22:40:42 mon03.ethdevops.io parity 2020-08-02 20:40:42 UTC Syncing snapshot 93/5437 #10325096 26/50 peers 115 KiB chain 212 MiB db 0 bytes queue 23 KiB sync RPC: 0 conn, 0 req/s, 19 µs 
...
Aug 05 10:07:50 mon03.ethdevops.io parity 2020-08-05 08:07:49 UTC Syncing snapshot 93/5437 #10325096 31/50 peers 2 MiB chain 212 MiB db 0 bytes queue 39 KiB sync RPC: 0 conn, 0 req/s, 19 µs
Aug 05 10:07:55 mon03.ethdevops.io parity 2020-08-05 08:07:54 UTC Syncing snapshot 93/5437 #10325096 31/50 peers 2 MiB chain 212 MiB db 0 bytes queue 39 KiB sync RPC: 0 conn, 0 req/s, 19 µs
Aug 05 10:08:00 mon03.ethdevops.io parity 2020-08-05 08:07:59 UTC Syncing snapshot 93/5437 #10325096 31/50 peers 2 MiB chain 212 MiB db 0 bytes queue 39 KiB sync RPC: 0 conn, 0 req/s, 19 µs
Aug 05 10:08:05 mon03.ethdevops.io parity 2020-08-05 08:08:04 UTC Syncing snapshot 93/5437 #10325096 31/50 peers 2 MiB chain 212 MiB db 0 bytes queue 39 KiB sync RPC: 0 conn, 37 req/s, 19 µs
Aug 05 10:08:10 mon03.ethdevops.io parity 2020-08-05 08:08:09 UTC Syncing snapshot 93/5437 #10325096 31/50 peers 2 MiB chain 212 MiB db 0 bytes queue 39 KiB sync RPC: 0 conn, 0 req/s, 19 µs 
esocode commented 4 years ago

First, you should upgrade to 3.0.1. Then try to restart openethereum. I had just noticed the same (or similar) problem with 3.0.1. after starting a full sync some days ago I just noticed that openethereum was stuck syncing always the same block (#10611473) and creating snapshots. I restarted it and now it continues to sync (hopefully to the end).

holiman commented 4 years ago

Yeah, after update + restart, it got sorted out

esocode commented 4 years ago

I wouldn't close this - there's obviously a bug that causes the sync to stall. In my case it started again to repeat at block #10631011.