erigon icon indicating copy to clipboard operation
erigon copied to clipboard

Fast Sync Stuck at 3 Months Behind, Full Sync Takes ~20 Days

Open jianesrq0724 opened this issue 10 months ago • 7 comments

I deleted the entire data directory and restarted syncing the node. The fast sync can only reach up to the block height from three months ago, and the remaining blocks can only be synced slowly. It’s estimated to take about 20 days to fully catch up. Is there any way to speed up the synchronization?

jianesrq0724 avatar Jan 28 '26 08:01 jianesrq0724

Only if somebody will update snapshots here . This snapshot is like you said 3-4 month ago. https://github.com/erigontech/erigon-snapshot https://github.com/erigontech/erigon-snapshot/blob/main/bor-mainnet.toml

I want to do full resync, because my snapshots folder already is 6.3 T(full node) which i think is too big ( i have 7T disk) . And I cant because full resync will be around 20 days.

It looks like Erigon for polygon is abandoned. A lot of bugs with pruning and chaindata (intermittent sync issues and size of chaindata folder keeps increasing after Rio HF.) which was partially solved by volunteer. And atleast now Erigon became "at least you can use it"

I Liked Erigon but now(4-5 month) it is very unstable . I'm considering switch to Bor, atleast it is working normally

Skryabin-P avatar Jan 28 '26 21:01 Skryabin-P

This is a big issue. One of the advantages to Erigon 3 based nodes is being able to get an archive node current quickly. Without updated bor-mainnet.toml snapshots that advantage disappears.

hub-il avatar Feb 03 '26 15:02 hub-il

I am working on creating snapshots from my archive node with help of original Erigon team.

This takes quite a bit of time due to the extra steps as well as that they had to make changes to the client.

When I have a torrent file available. I will provide this, then everyone can sync fast again.

Agreed this should have been fixed long time ago

HugoDutchie avatar Feb 06 '26 19:02 HugoDutchie

Stuck on the same predicament, absolute beast of a machine, but from my calculations, it'll take 26 days to sync due to having to execute blocks since 76M

astutejoe avatar Feb 11 '26 13:02 astutejoe

I am working on creating snapshots from my archive node with help of original Erigon team.

This takes quite a bit of time due to the extra steps as well as that they had to make changes to the client.

When I have a torrent file available. I will provide this, then everyone can sync fast again.

Agreed this should have been fixed long time ago

@HugoDutchie were you able to make any progress here. We really could use some new snapshots.

hub-il avatar Feb 19 '26 22:02 hub-il

Any update here? I am currently running into the same issue and would really appreciate an updated snapshot for my archive node

oliyy avatar Mar 02 '26 09:03 oliyy

I can only report that I tried these steps:

export ERIGON_BIN_DIR=/usr/local/bin
export ERIGON_DATA_DIR=/data/erigon
export CHAIN=bor-mainnet
export WORK_DIR="" # left out because of machine specific

#Make sure snapshot directory is 'clean' by flushing database content to disk and merging files where needed
sudo $ERIGON_BIN_DIR/erigon seg retire --datadir=$ERIGON_DATA_DIR --log.console.verbosity=5

#Make sure all indexes are built
sudo $ERIGON_BIN_DIR/erigon snapshots clearIndexing --datadir="$ERIGON_DATA_DIR"
sudo $ERIGON_BIN_DIR/erigon snapshots index --datadir=$ERIGON_DATA_DIR

#Run additional integrity checks
sudo $ERIGON_BIN_DIR/erigon snapshots integrity --datadir=$ERIGON_DATA_DIR --failFast

#Create Local Torrent Files
sudo $ERIGON_BIN_DIR/downloader torrent_create --all --datadir=$ERIGON_DATA_DIR --chain $CHAIN

#Verify Torrent Files
sudo $ERIGON_BIN_DIR/downloader --datadir $ERIGON_DATA_DIR --chain $CHAIN --verify --verify.failfast

Build chain.toml
sudo $ERIGON_BIN_DIR/downloader torrent_hashes --datadir=$ERIGON_DATA_DIR --chain $CHAIN >>$WORK_DIR/.chain.toml

and that it failed on the 3rd step with Bad Salt.

I asked for support from Erigon team directly but no solution yet.

I tried up to 3 times as this is a lenghty process. (1.5 days for step 1 alone + 192GB ram needed to not OOM).

If there is more info I'll post it here but I don't know if and when that might be.

HugoDutchie avatar Mar 02 '26 15:03 HugoDutchie