-
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
Global critical problem. Slow sync! #545
Comments
+1, I have the same problem and try every way i can find,still dont work!!!!! |
Confirming. Same issue. Tried snapshot, from genesis, all syncmodes, all tips from threads on github. |
Same here. |
Same. |
Running i3en.6xlarge on AWS, node gets out of sync too frequently. |
@TehnobitSystems out of the devs that you pinged, not a single one has anything to do with BSC. We are/were all developers of the ethereum Geth client. BSC has reused the codebase, and still imports commits from the upstream project go-ethereum, but that does not mean that we are affiliated with BSC. |
i3en.2xlarge USEAST |
Where and what cache size did you set for reaching "dirty=1.56GiB"? I use:
But the used cache size is: |
@philzeh could you share you config? |
Hi guys, I'm trying to get a fullnode sync from days without success. |
same |
same prob. |
Let me describe our expirience how to get synced node w/o issues.
Generic requirements:
Sync up speed is around 2x compared to generation, thus if your node lags 10 hours, you'll need around 10 hours to sync up, assuming your p2p peers are fine all the time. Disks details:
|
Thanks for that ! |
@FeurJak
You should use instance storage there, not an aws EBS one. Pay attention to backups when required, as ephemeral storage is not what you wanna use for f.e. crypto wallets. |
@FeurJak how can I verify how much cache do I use? |
Not too sure how you can verify it, but I set the cache size on my command: ./build/bin/geth --config ./config.toml --datadir ./node --rpc.allow-unprotected-txs --txlookuplimit 0 --http.api web3,eth,miner,net,txpool,debug --rpc --rpcaddr 0.0.0.0 --rpcport 8545 --rpcapi web3,eth,personal,miner,net,txpool,debug console --ipcpath geth.ipc --syncmode fast --gcmode full --snapshot false --cache.preimages --cache 128000 --diffsync |
Yea sorry, just realised my AWS i3en instance does use ephemereal... anyhow giving GCP a go, with N2D Compute optimized 64 Core 64 GB Memory with 9TB local SSD. |
I was syncing slowly, recovering like 1 minute blockchain time in 20 seconds real time (3x blockchain time speed). Then I read your post, thinking that I was going so slow for those settings you mentioned. Stopped the node, changed setting as you said, restarted the node. |
Anyone knows how many state entries total currently ? lol |
|
How it can be possible |
It's p2p, you cannot just force it to sync asap. Exposed p2p udp port with external IP may speed up peers discovery. |
My node is run from snapshot which is pruned, so maybe it's different |
Maybe, just maybe, at the current state BSC network require more capable hardware to sync properly. The minimum requirement won't work anymore. |
People have syncing problems on much (MUCH) more powerful hardware than what you have. I'm using the most powerful hardware available on Azure that costs thousands, and I'm lagging behind. Popular RPC providers are lagging behind. The Azure team performed a performance diagnosis and assured me that the hardware is not the bottleneck. Hardware is not the issue, or if it is, then it's much more complicated than "require more capable hardware". |
Wow, that's crazy ! |
The only ports I have opened are 30311 for P2P and 8545/8546 for RPC. Do you know if any other port is required? |
That's why I disable the firewall since I don't know the ports, and I'm super lazy to checking it. |
Hello. I am having the same problem. MY HW is Hetzner Dedicated Server (8 Cores AMD Ryzen 3700X, 48GB RAM,SSD disks,ext4 fs). There is no performance peaks using this HW since there was already BSC node on the same server with literally same settings. i just reinstalled it (full disk problem). Its already syncing for a 8-10 days. I am getting this output on eth.isSyncing: Just added --diffsync (and raised max.peers from 250 to 300) so will wait to see if that will solve the problem. Also, I/O performance is good i think. |
Same here, even with |
Still same for me too. |
ax61-nvme syncs good |
Have you synced yet?
the gen 3 has the following model SAMSUNG MZQLB1T9HAJR-00007 |
nvme0n1 1.8T SAMSUNG MZQL21T9HCJR-00A07 feelsgoodman |
you got lucky 😂😂 |
Sync is good until the first hyped launch comes and the blocks not able to handle couple of thousand tx`s. |
They never could handle thousands of tx. The blocks fill up at around 600 tx usually. It would just be a bunch of full blocks for a while, which we currently get anyway. |
It's not about the hardware. I have exactly the same server from the same provider, and my node can't sync. You think you always fully synced? Try to rebuild your system and see if you could sync it anymore |
I've tried both using D96ds_v5 and using the temp storage disk for my node, and an attached ultra disk LRS (4072 GiB size, 160k IOPS and 4000 MB/s max throughput), in two different locations (US central and France central). |
i finally synced seemed the two biggest bottlenecks are CPU and IOPS (Actual sync time about 20hrs)
Process:
Actual sync process:[Optional] Open config.toml and delete the Node Log section, just useful for getting logs straight on the terminal or just use tail to look at the logs [Optional] Create a service or use screen to run the command below, so it doesn't stop if you are using SSH, Run Geth Command
Might be very Important
|
Following instructions literally, except for cache size since I only have 32 GB RAM. But I have better ssd (WD Black SN850 in RAID0), I'm still going slow as always. I got 2 hours in 5. I'm behind of about 2 days and half, so at this speed I would need about 5-6 days to sync lol |
hmmm, I am not entirely sure what it could be: |
How many peers are connected? Make sure traffic on P2P port (30311 by default) is allowed. |
I don't think the problem is CPU since I have Ryzen 9 5950X I got 34 peers at the moment (with max at 100), should be pretty normal, right? |
The important value is the DSK read 29744 -- when I was syncing on mine , I got 30-40K, but this should be still plenty |
Do you suggest to restart the node with more maxpeers? I don't know if it's going to change something, but I can try. |
I restarted with maxpeers 250, now I got 82 peers but I'm slower than the actual chain lol. In 5 minutes of running I lost 1 minute instead of gaining it ahaha Anyway I was wondering..could be that I'm having this performance due to the fact that I'm running it on a Virtual machine? |
At this point I am not entirely sure what would be causing the slow sync, sorry |
From when I restarted the node, I'm not going any forward....stuck at 2d11h27m. Same settings as before and same peers. Can't believe it |
This is mine. LOL Also I'm noticing that the size of my chaindata folder is growing really too fast (I think the ancient folder is growing a lot). Started from snapshot of 16/11 (that was around 700 GB, right?), and I'm already at 1.3 TB and still +2 days behind. I don't think that I'm going able to sync with this amount of space since I only have 1.8 TB of space in total (2 ssd WD black SN850 of 1 TB in RAID0) |
We gave up on BSC after 2'600'000'000 synced states. If someone needs a number. |
so this is fixed? @bnb-tw |
Hi everyone!
Full BSC node cannot fully sync. Never. The same problem is affecting many guys here.
Many posts have already been created on github and other sources, but there is no solution can be find anywhere. Many recommendations do not help solve the problem.
This is already a global problem, but the developers are not responding.
How to get a reaction from the BSC engineering team?
If you know someone from the BSC team or other guys who can help, let's mention the engineers here so that they would see this.
The text was updated successfully, but these errors were encountered: