node-real / bsc-erigon

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

FeedHeaderPoW Get highestHeader fail err=nil hd.highestInDb=30824714 #196

Closed songqingshududu closed 1 year ago

songqingshududu commented 1 year ago

image

Every time the Erigon node runs for two or three hours, the problem occurs, and then it takes another hour or more for the node to return to normal。

songqingshududu commented 1 year ago

This is the command when I started, can you help me to see what needs to be changed?

nohup /root/jiedian/bsc-erigon/build/bin/erigon --datadir="/root/jiedian/kuaizhao/erigon/chaindata" --networkid=56 --chain=bsc --db.pagesize=16k --prune=hrtc --p2p.protocol=66,67 --nat=any --sentry.drop-useless-peers --state.cache=16G --maxpeers=60 --port=30303 --http.addr=0.0.0.0 --http.port=8545 --authrpc.addr=0.0.0.0 --authrpc.port=8551 --torrent.port=42069 --private.api.addr=127.0.0.1:9090 --http --ws --http.api=eth,debug,net,trace,web3,erigon &

blxdyx commented 1 year ago

Use the latest comint in devel branch

songqingshududu commented 1 year ago

Use the latest comint in devel branch thanks

songqingshududu commented 1 year ago

Use the latest comint in devel branch ZEH)1YU$P 7` 1WA2DQTLQ My current running memory usage is very high, above is my startup command, what parameters can I modify to reduce my running memory usage

blxdyx commented 1 year ago

remove state.cache and reduce db.pagesize

songqingshududu commented 1 year ago

remove state.cache and reduce db.pagesize

How does erigon subscribe to a complete pending message at once instead of requesting it once again by getting the transaction hash