Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mainnet sync stuck #7497

Closed
pygeek opened this issue May 11, 2023 · 4 comments
Closed

Mainnet sync stuck #7497

pygeek opened this issue May 11, 2023 · 4 comments

Comments

@pygeek
Copy link

pygeek commented May 11, 2023

System information

Erigon version: ./erigon --version

OS & Version: macOS

Commit hash: #v2.43.0

Erigon Command (with flags/config): ./build/bin/erigon --datadir /Volumes/Extreme\ Pro/erigon/ --log.console.verbosity=4 --torrent.download.rate=10000mb

Concensus Layer:

Concensus Layer Command (with flags/config):

Chain/Network: mainnet

Expected behaviour

I expect the sync to complete. I expect peers not to fail.

Actual behaviour

DBUG[05-11|16:12:53.144] QuerySeeds read nodes from the node DB   count=30
DBUG[05-11|16:12:53.144] QuerySeeds read nodes from the node DB   count=30
DBUG[05-11|16:12:53.145] [downloader] file not downloaded yet     name=v1-005000-005500-transactions.seg progress=0.00%
DBUG[05-11|16:12:53.147] QuerySeeds read nodes from the node DB   count=30
DBUG[05-11|16:12:53.147] QuerySeeds read nodes from the node DB   count=30
INFO[05-11|16:12:53.149] Started P2P networking                   version=67 self=enode://xxxxxxxx@127.0.0.1:0 name=erigon/v2.43.0-stable-1106475e/darwin-amd64/go1.19
INFO[05-11|16:12:53.150] Started P2P networking                   version=68 self=enode://xxxxxxxx@127.0.0.1:0 name=erigon/v2.43.0-stable-1106475e/darwin-amd64/go1.19
INFO[05-11|16:12:53.152] [txpool] Started
DBUG[05-11|16:13:05.425] [downloader] Collecting...               from=17239383 to=17239383 len=1
DBUG[05-11|16:13:05.425] [downloader] posAnchor is nil
DBUG[05-11|16:13:08.381] [txpool] Commit                          written_kb=0 in=8.085041ms
DBUG[05-11|16:13:13.114] [downloader] file not downloaded yet     name=v1-005000-005500-transactions.seg progress=0.00%
DBUG[05-11|16:13:13.115] [downloader] file has no metadata yet    name=infohash:7cb5f6c01e635071a337137c13d9847504cff479
INFO[05-11|16:13:13.145] [1/15 Snapshots] Waiting for torrents metadata: 99/100
DBUG[05-11|16:13:18.624] [p2p] Handshake failure                  peer=0c19013de7d2eaec75d7 err="genesis hash does not match: theirs d13e2a03de92499080fadc77cf5453a97ccfe3a1410b1c658a91525b53600e39, ours d4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3"
DBUG[05-11|16:13:23.627] [txpool] Commit                          written_kb=0 in=2.903708ms
DBUG[05-11|16:13:25.593] [downloader] Collecting...               from=17239384 to=17239384 len=1
DBUG[05-11|16:13:25.593] [downloader] posAnchor is nil
DBUG[05-11|16:13:33.114] [downloader] file not downloaded yet     name=v1-005000-005500-transactions.seg progress=0.00%
INFO[05-11|16:13:33.148] [1/15 Snapshots] download                progress="97.72% 292.5GB/299.3GB" download-time-left=999hrs:99m total-download-time=40s download=0B/s upload=0B/s
INFO[05-11|16:13:33.148] [1/15 Snapshots] download                peers=2 connections=2 files=100 alloc=229.2MB sys=273.4MB
DBUG[05-11|16:13:38.879] [txpool] Commit                          written_kb=0 in=4.221292ms
DBUG[05-11|16:13:42.574] [downloader] Collecting...               from=17239385 to=17239385 len=1
DBUG[05-11|16:13:42.574] [downloader] posAnchor is nil
DBUG[05-11|16:13:42.626] slow peer or too many requests, dropping its old requests name=Geth/v1.11.6-stable-...
DBUG[05-11|16:13:44.136] [downloader] Collecting...               from=17239332 to=17239332 len=1
DBUG[05-11|16:13:44.136] [downloader] posAnchor is nil
DBUG[05-11|16:13:53.114] [downloader] file not downloaded yet     name=v1-005000-005500-transactions.seg progress=0.00%
INFO[05-11|16:13:53.122] [txpool] stat                            pending=191 baseFee=0 queued=2046 alloc=181.0MB sys=308.0MB
INFO[05-11|16:13:53.145] [1/15 Snapshots] download                progress="97.72% 292.5GB/299.3GB" download-time-left=999hrs:99m total-download-time=1m0s download=0B/s upload=0B/s
INFO[05-11|16:13:53.145] [1/15 Snapshots] download                peers=2 connections=3 files=100 alloc=181.0MB sys=308.0MB
DBUG[05-11|16:13:54.130] [txpool] Commit                          written_kb=0 in=3.189542ms
DBUG[05-11|16:14:01.268] slow peer or too many requests, dropping its old requests name=Geth/v1.11.6-stable-...
DBUG[05-11|16:14:01.379] slow peer or too many requests, dropping its old requests name=Geth/v1.11.6-stable-...
DBUG[05-11|16:14:04.600] [downloader] Collecting...               from=17239387 to=17239387 len=1
DBUG[05-11|16:14:04.600] [downloader] posAnchor is nil
DBUG[05-11|16:14:05.760] [downloader] Collecting...               from=17239387 to=17239387 len=1
DBUG[05-11|16:14:05.760] [downloader] posAnchor is nil
DBUG[05-11|16:14:09.383] [txpool] Commit                          written_kb=0 in=4.656041ms
DBUG[05-11|16:14:10.927] [sentry] sendMessageById                 msgcode=3 err="set tcp 10.115.186.70:52498: use of closed network connection"
DBUG[05-11|16:14:13.113] [downloader] file not downloaded yet     name=v1-005000-005500-transactions.seg progress=0.00%
INFO[05-11|16:14:13.145] [1/15 Snapshots] download                progress="97.72% 292.5GB/299.3GB" download-time-left=999hrs:99m total-download-time=1m20s download=0B/s upload=0B/s
INFO[05-11|16:14:13.145] [1/15 Snapshots] download                peers=3 connections=4 files=100 alloc=236.5MB sys=312.3MB
DBUG[05-11|16:14:23.494] [downloader] Collecting...               from=17239384 to=17239384 len=1
DBUG[05-11|16:14:23.494] [downloader] posAnchor is nil
DBUG[05-11|16:14:24.632] [txpool] Commit                          written_kb=0 in=3.013542ms
DBUG[05-11|16:14:33.115] [downloader] file not downloaded yet     name=v1-005000-005500-transactions.seg progress=0.00%
INFO[05-11|16:14:33.146] [1/15 Snapshots] download                progress="97.72% 292.5GB/299.3GB" download-time-left=999hrs:99m total-download-time=1m40s download=0B/s upload=0B/s
INFO[05-11|16:14:33.146] [1/15 Snapshots] download                peers=2 connections=2 files=100 alloc=278.8MB sys=328.4MB
DBUG[05-11|16:14:39.885] [txpool] Commit                          written_kb=0 in=4.481917ms
DBUG[05-11|16:14:46.369] [p2p] Handshake failure                  peer=39dd31f009484dc3ff50 err="set tcp 10.115.186.70:53458: use of closed network connection"
DBUG[05-11|16:14:52.140] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:14:53.114] [downloader] file not downloaded yet     name=v1-005000-005500-transactions.seg progress=0.00%
INFO[05-11|16:14:53.114] [p2p] GoodPeers                          eth67=4 eth68=3
INFO[05-11|16:14:53.127] [txpool] stat                            pending=191 baseFee=0 queued=2046 alloc=190.0MB sys=336.4MB
INFO[05-11|16:14:53.145] [1/15 Snapshots] download                progress="97.72% 292.5GB/299.3GB" download-time-left=999hrs:99m total-download-time=2m0s download=0B/s upload=0B/s
INFO[05-11|16:14:53.145] [1/15 Snapshots] download                peers=1 connections=1 files=100 alloc=191.4MB sys=336.4MB
DBUG[05-11|16:14:55.134] [txpool] Commit                          written_kb=0 in=2.05075ms
DBUG[05-11|16:14:55.241] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:14:56.801] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:15:02.541] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:15:02.542] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:15:02.542] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:15:03.056] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:15:03.056] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:15:03.580] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:15:03.588] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:15:03.589] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:15:03.589] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:15:10.386] [txpool] Commit                          written_kb=0 in=2.490292ms
DBUG[05-11|16:15:13.114] [downloader] file not downloaded yet     name=v1-005000-005500-transactions.seg progress=0.00%
INFO[05-11|16:15:13.146] [1/15 Snapshots] download                progress="97.72% 292.5GB/299.3GB" download-time-left=999hrs:99m total-download-time=2m20s download=0B/s upload=0B/s
INFO[05-11|16:15:13.146] [1/15 Snapshots] download                peers=1 connections=1 files=100 alloc=264.3MB sys=336.4MB
DBUG[05-11|16:15:25.638] [txpool] Commit                          written_kb=0 in=2.87425ms
DBUG[05-11|16:15:26.511] slow peer or too many requests, dropping its old requests name=Geth/v1.11.5-stable/...
DBUG[05-11|16:15:33.113] [downloader] file not downloaded yet     name=v1-005000-005500-transactions.seg progress=0.00%
INFO[05-11|16:15:33.145] [1/15 Snapshots] download                progress="97.72% 292.5GB/299.3GB" download-time-left=999hrs:99m total-download-time=2m40s download=0B/s upload=0B/s
INFO[05-11|16:15:33.146] [1/15 Snapshots] download                peers=1 connections=1 files=100 alloc=195.8MB sys=348.4MB

Steps to reproduce the behavior

run erigon command.

@AskAlexSharov
Copy link
Collaborator

maybe it's related to fact that we added netgo build tag and it has bug on win: golang/go#57757
please recompile erigon without this tag: just remove it from .ps1 as done by #7421 or switch to devel branch.

@pygeek
Copy link
Author

pygeek commented May 12, 2023

maybe it's related to fact that we added netgo build tag and it has bug on win: golang/go#57757

please recompile erigon without this tag: just remove it from .ps1 as done by #7421 or switch to devel branch.

I'm not using windows—I'm using Mac ARM64. I already attempted without the tag, just stable, and had the same issues. I originally attempted devel, it seemed to encounter more issues.

@github-actions
Copy link

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jun 22, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants