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

Separately started downloader stuck with 0 files to go #14132

Open
awskii opened this issue Mar 10, 2025 · 2 comments
Open

Separately started downloader stuck with 0 files to go #14132

awskii opened this issue Mar 10, 2025 · 2 comments

Comments

@awskii
Copy link
Member

awskii commented Mar 10, 2025

[INFO] [03-09|19:06:29.523] [snapshots] Downloading                  progress="(0/0 files) 0.00% - 0B/0B" time-left=999hrs:99m total-time=2562047h47m16.854775807s download-rate=0B/s completion-rate=0B/s alloc=19.3MB sys=48.8MB
[INFO] [03-09|19:06:49.522] [snapshots] Downloading complete         time=2562047h47m16.854775807s
  1. (misc) total-time is a time.Since(d.startTime) but d.startTime is set only on grpc Add call.
  2. user reports that sanps/preverified.toml appeared on fs but probably been ignored.
  3. killing separate downloader and starting erigon by itself resolves the issue but we allow running erigon --no-downloader along with separate downloader instance and it expected to work smoothly.

User configuration is to be added.

@tsutsu
Copy link
Contributor

tsutsu commented Mar 10, 2025

Broken config:

/opt/erigon/releases/latest-%i/bin/erigon \
  --datadir=/scratch/node/%i/el \
  --nat=extip:${IP_ADDRESS} \
  --private.api.addr=127.0.0.1:${PRIVATE_API_PORT} \
  --authrpc.addr=localhost \
  --authrpc.port=${ENGINE_PORT} \
  --externalcl=false \
  --downloader.api.addr=127.0.0.1:${DOWNLOADER_API_PORT} \
  --caplin.blobs-immediate-backfill=true \
  --caplin.discovery.port=${CL_LIBP2P_UDP_PORT} \
  --caplin.discovery.tcpport=${CL_LIBP2P_TCP_PORT} \
  --diagnostics.endpoint.port=${DIAG_PORT} \
  --db.pagesize=8KB \
  --db.size.limit=${DB_SIZE_LIMIT} \
  --chain=${CHAIN_NAME} \
  --db.read.concurrency=8192 \
  --rpc.batch.concurrency=100 \
  --port=${ETHP2P_PORT} \
  --p2p.allowed-ports=${ETHP2P_PORTS} \
  --log.console.verbosity=info \
  --http.addr=localhost \
  --http.port=${HTTP_PORT} \
  --http.api=debug,eth,net,web3,erigon \
  --http.vhosts=* \
  --ws=true

/opt/erigon/releases/latest-%i/bin/downloader \
  --datadir=/scratch/node/%i/el \
  --chain=${CHAIN_NAME} \
  --downloader.api.addr=127.0.0.1:${DOWNLOADER_API_PORT} \
  --nat=extip:${IP_ADDRESS} \
  --torrent.port=${TORRENT_PORT} \
  --torrent.download.rate=400mb \
  --torrent.download.slots=10

@VBulikov
Copy link
Member

VBulikov added Imp2 as Importance

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

3 participants