Skip to content

Slow Sync After Restart The Avalanchego #1407

@lightmelv

Description

@lightmelv

My Avalanchego has stopped sync at 22 April and I restarted it.
I have waited for 2 days and it hasn't catched up with the latest block.
Are there any ways to make the sync faster?

Logs

DEBUG[04-24|02:47:52.329] <C Chain> github.com/ava-labs/coreth/plugin/evm/block.go:145: Accepting block e09cc1d0d044538acb56c8ed7141cb2d55e34e85d8348c3a64ac8e44487cda5a (2hvRPo8BZzRhm4KRcdUez6yUkuxmXoZBjo9Cu6Q6UxTzRLgyPJ) at height 29093499 
DEBUG[04-24|02:47:52.329] <C Chain> github.com/ava-labs/coreth/trie/database.go:506: Dereferenced trie from memory database nodes=0         size=0.00B     time="3.79µs"      gcnodes=78        gcsize=21.50KiB   gctime=6.944513ms    livenodes=24      livesize=4.53KiB
DEBUG[04-24|02:47:52.334] <C Chain> github.com/ava-labs/coreth/trie/database.go:506: Dereferenced trie from memory database nodes=723       size=383.58KiB time=5.395137ms    gcnodes=1,636,414 gcsize=756.43MiB  gctime=11.297413151s livenodes=383,561 livesize=104.92MiB
DEBUG[04-24|02:47:52.348] <C Chain> github.com/ava-labs/coreth/trie/database.go:676: Persisted nodes from memory database nodes=1970      size=498.22KiB time=12.938385ms   flushnodes=1,048,429 flushsize=236.26MiB  flushtime=8.033057069s  livenodes=381,591 livesize=104.43MiB
DEBUG[04-24|02:47:52.349] <C Chain> github.com/ava-labs/coreth/core/state/snapshot/generate.go:204: Journalled generator progress progress=done
DEBUG[04-24|02:47:52.349] <C Chain> github.com/ava-labs/coreth/core/state/snapshot/snapshot.go:701: Journalled disk layer root=3c6b88..406cc1 complete=true
DEBUG[04-24|02:47:52.349] <C Chain> github.com/ava-labs/coreth/core/state/snapshot/snapshot.go:484: Flattened snapshot tree blockHash=e09cc1..7cda5a root=3c6b88..406cc1 size=1         elapsed=1.281ms
DEBUG[04-24|02:47:56.254] <C Chain> github.com/ava-labs/coreth/core/blockchain.go:1364: Inserted new block number=29,093,500 hash=1fd5df..d09b48 parentHash=e09cc1..7cda5a uncles=0 txs=2   gas=7,499,286 elapsed=3.854s      root=50a475..1f2b7c baseFeePerGas=35,055,674,917  blockGasCost=200,000
DEBUG[04-24|02:47:56.254] <C Chain> github.com/ava-labs/coreth/core/tx_pool.go:1408: Reinjecting stale transactions count=0
DEBUG[04-24|02:47:56.255] <C Chain> github.com/ava-labs/coreth/plugin/evm/block.go:145: Accepting block 1fd5df7e239ac8426ca815c45a5bfadef665f75d06bdd01e4711722902d09b48 (F2CEMYEohpcsqb6gvvGwfaWRYbEPKxRbyVUzzdheL8fpJvAb1) at height 29093500 
DEBUG[04-24|02:47:56.255] <C Chain> github.com/ava-labs/coreth/trie/database.go:506: Dereferenced trie from memory database nodes=0         size=0.00B     time="3.788µs"     gcnodes=78        gcsize=21.50KiB   gctime=6.946735ms    livenodes=24      livesize=4.53KiB
DEBUG[04-24|02:47:56.257] <C Chain> github.com/ava-labs/coreth/trie/database.go:506: Dereferenced trie from memory database nodes=182       size=77.93KiB  time=1.209486ms    gcnodes=1,636,596 gcsize=756.51MiB  gctime=11.298620854s livenodes=383,085 livesize=104.96MiB
DEBUG[04-24|02:47:56.277] <C Chain> github.com/ava-labs/coreth/trie/database.go:676: Persisted nodes from memory database nodes=2862      size=725.68KiB time=20.323679ms   flushnodes=1,051,291 flushsize=236.97MiB  flushtime=8.053378597s  livenodes=380,223 livesize=104.25MiB
DEBUG[04-24|02:47:56.278] <C Chain> github.com/ava-labs/coreth/core/state/snapshot/generate.go:204: Journalled generator progress progress=done
DEBUG[04-24|02:47:56.278] <C Chain> github.com/ava-labs/coreth/core/state/snapshot/snapshot.go:701: Journalled disk layer root=50a475..1f2b7c complete=true
DEBUG[04-24|02:47:56.278] <C Chain> github.com/ava-labs/coreth/core/state/snapshot/snapshot.go:484: Flattened snapshot tree blockHash=1fd5df..d09b48 root=50a475..1f2b7c size=1         elapsed=1.249ms

Operating System
Ubuntu 20.04.4 LTS

Avalanchego Version
avalanche/1.10.0

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions