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
Synchronization runs very slowly #100
Comments
You can find the recommended configuration in https://test.ton.org/Validator-HOWTO.txt |
You should wait several hours until your node will be fully synchronized. What is the Internet link speed for the server? For the Testnet it looks like a network is a bottleneck, not a CPU power. I mean the whole network capacity too. On my tests the CPU utilization quite rare hits 200% and never crosses 300%. During the synchronization process the network utilization is 20-30 Mbps both in upload/download. You can easily check it with iftop tool. |
Thank you. I have the cpu load up to 700%. And the network utilization even more than your numbers. 17 hours and last block is still 400 000 seconds behind current time is it normal values or something goes wrong? |
@ashkov My test node is running for now about 20 hours and still has 60% of blocks height. They did a big optimization of the disk space usage, but it seems to lead to slower network synchronization. Unfortunately it is unclear how to speed up synchronization process now. |
Just a couple of guesses. |
Ok, I've rebuilt my node with "Release" version and checked OpenSSL version which 1.1.1, looks like CPU got lower, but sync is still slow. |
|
Ok, found out that you suggest keeping everything on SSD and only mount slow storage for archival. |
@akme HDD may be an issue, because I am also run HDD instance, but it was fine before the last build in the version around 5 of October. |
@ton-blockchain Hardware upgrade to system requirements https://test.ton.org/Validator-HOWTO.txt helped to solve the problem. Can I rebuild Validator with Release flag and keep existing database? I don't want to re-synchronize validator. |
I see that full node creates millions of files again in the Is there any trigger in the network or node software which enforces the creating of a large number of files? I am not sure that millions of files is a good storage of any kind of blockchain data.
|
Seems the issue of sync begins after deleting archive files from archive folder or moving archive folder some other place. After installing validation node from the scratch everything were working just perfect for more than two month. After moving archive folder to other place and making symbolic link to that folder. Validator database size reduced from 80Gb to 17Gb. Out of sync time started growing. In two days it became 123940 s. The same case has happened about 3 month ago, when I were just testing the server, and after some days of stable working just deleted files in archive folder (nothing else) ... Storage is SSD not HDD ... |
With 8 cores and 32GB memory it seems that my Full Node can't synchronize and catch up current masterchain block.
It seems that last block renews more often then "newest masterchain block" known to FullNode.
What configuration on Amazon fits Validator needs?
The text was updated successfully, but these errors were encountered: