node-real / bsc-erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
124 stars 42 forks source link

BSC Node keep crashing #168

Closed akshat-pyor closed 1 year ago

akshat-pyor commented 1 year ago

System information

Erigon version: ./erigon --version

OS & Version: Linux : 256 Gb RAM

Commit hash:

Erigon Command (with flags/config):

we downloaded and extracted the snapshot first : aria2c -s14 -x14 -k100M https://pub-60a193f9bd504900a520f4f260497d1c.r2.dev/erigon_data_20230410.tar.lz4 -o erigon.tar.lz4 -d /snapshot/ && tar -I lz4 -xvf /snapshot/erigon.tar.lz4 -C /data/binance-smart-chain/mainnet | pv -lep -s $(aria2c --show-files https://pub-60a193f9bd504900a520f4f260497d1c.r2.dev/erigon_data_20230410.tar.lz4 | tail -n1 | awk '{print $3}')

apt-get update && apt-get install -y wget tar && \ wget https://github.com/node-real/bsc-erigon/releases/download/v1.0.2/bsc_erigon_1.0.2_linux_amd64.tar.gz && \ tar xvzf bsc_erigon_1.0.2_linux_amd64.tar.gz && \ rm bsc_erigon_1.0.2_linux_amd64.tar.gz && \ ./erigon --config /datadir/erigon-config.toml

following are the flags in erigon-config.toml

chain="bsc" datadir='/datadir' ws=true "http.api" = ["eth","debug","net","erigon","web3","trace","txpool","parity"] "http.addr" = "0.0.0.0" "http.vhosts"='' "http.corsdomain"="" "authrpc.addr" = "erigon" "authrpc.vhosts"="erigon" "db.pagesize"="16kb" "batchSize"="128mb" "p2p.protocol"=66 "db.read.concurrency"=256 "rpc.evmtimeout"="0s" "http.timeouts.write"="1000000s" "http.timeouts.read"="10000000s" "rpc.batch.concurrency"=4

Concensus Layer:

Concensus Layer Command (with flags/config):

Chain/Network: BSC

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Backtrace

[backtrace]
calmbeing commented 1 year ago

It looks like the snapshot and binary version are both outdated, try use the latest one

blxdyx commented 1 year ago

Reopen if have any question