bnb-chain / bsc

A BNB Smart Chain client based on the go-ethereum fork
GNU Lesser General Public License v3.0
2.73k stars 1.56k forks source link

blocks remains behind #1843

Closed ParampreetKaurAnand closed 1 year ago

ParampreetKaurAnand commented 1 year ago

We are running a cluster of BSC nodes. However we are constantly facing issues of block syncing, where blocks remains behind the current block number (if we compare our node block number with the bscscan explorer block number), in that case we have to restart the node, so it could sync the previous blocks. Most of the time block syncing remains behind.

We are running nodes with following server configurations. CPUs: 8 Core Memory: 16 GB Disk Size: 2.5 TB

deepcrazy commented 1 year ago

Could you more details please like:

As per your current information shared, it seems you're lacking on hardware resources. Please refer this doc: https://docs.bnbchain.org/docs/validator/fullnode#suggested-requirements for more details on hardware requirements.

In addition to this, you can append static nodes in your config.toml file from here: https://api.binance.org/v1/discovery/peers and then restart your node. Make sure to stop your node gracefully (https://docs.bnbchain.org/docs/validator/upgrade-fullnode#step-2-stop-geth) before restarting it.