-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
The block height of the node server lags behind the official #2046
Comments
Hi there, It seems you're lacking on hardware specs. Recommended HW specs are this: https://docs.bnbchain.org/docs/validator/fullnode#suggested-requirements. Please upgrade your hw specs and then run your node. |
geth startup command is: geth --config /bsc/config/config.toml --datadir /bsc/node/ \
--cache 8000 --rpc.allow-unprotected-txs --txlookuplimit=0 \
--syncmode=full --tries-verify-mode=none --pruneancient=true \
--diffblock=5000 --ws --ws.addr 0.0.0.0 --maxpeers 200 |
If you met the above 2 condition and your node failed to sync, you may need to download the fastnode snapshot and sync again: https://github.com/48Club/bsc-snapshots |
Thanks for everyone's help. I have found the problem of our node being stuck. It is because the network of this machine is public. When a process on the machine starts running, the bsc synchronization progress will be greatly delayed. |
When I changed the
[Node] HTTPHost
configuration option in theconfig.toml
file in the server from "localhost" to "0.0.0.0", I found the following changes:The block height of the node server lags behind the official node. And the CPU of our node server will soar from 20% to 100%.
Below are some server logs I obtained. You can compare the difference in processing speed between the two configurations. We are using the same machine and the same program; we just modified the configuration options.
Set
localhost
Set '0.0.0.0'
Obviously, when set to "localhost", the synchronization speed of the server will be very fast. Please tell me why this is?
System information
Geth version: geth 1.2.15
OS & Version: Linux
hw:
8 core CPU 2.70GHz
32G RAM
1007G ssd hard drive
config.toml
The text was updated successfully, but these errors were encountered: