-
Notifications
You must be signed in to change notification settings - Fork 370
Full Sync issues easy solutions!!! #375
Comments
I have 12 neighbours who are fully synced, however my node is not fully synced. When restarting it catches up to a subtangle milestone several hours before the current one and then sits there. The 'latestMilestone' is newer but it is also out of date by hours. Traffic is flowing, but in the logs, I notice that I'm not seeing any new notifications of milestones from the coordinator. I'm using Ubuntu in AWS with Oracle JDK 1.8.1_151. I have not been able to sync my node once since I began with IOTA about a week ago. What could be happening here? Does the full node need to have the ability to request newer milestones? |
@ALEX778899 as you're a systems analyst and a Java developer, please provide some runtime analysis to help us see where the program is finding a bottleneck on your system. I'd be most interested to see how memory is behaving, as I would suspect this type of issue to be mainly related to memory. You must understand that it is difficult to help solve an issue with so very little context ( though, judging by the all-caps brand-new username and issue title, I wouldn't be surprised to find this to be another instance of a concern troll account. ) |
same with me, running on linux mint, 4 processor, 16gb, oracle java 8.152, fiber connected, 6 working tcp connections, 2 udp, perfect communication, after 24 hours I have allways the same solid milestone number. Here is my node info: appName |
My impression after 3 days of syncing trial is, that manual search for neighbors may lead to isles of neighbors with redundant transaction exchange. All new nodes go https://iotatangle.slack.com and sync with nodes that also have just arrived there. Mixing with full synced nodes would be necessary, but if you have a fully synced node you dont want to change your neighbors. So a lot of useless work is done - maybe it helps the tangle, but the effort to become a fully synced node seems to be too high for the moment. |
ideally all new nodes should be close to a public node, and we need more public nodes. |
I suggest you just start makin' a public node. |
I would, if I could get synced. I can confirm that I have neighbours who are in sync and who are sending traffic, although my node has not yet synced. I just rescanned today and the same symptom still appears (a "latestSolidSubtangleMilestoneIndex" that doesn't move, currently stuck at 295189. The latestMilestoneIndex is also behind, at 295222 of 295272). I'm using Oracle JDK 8 (1.8.0_151-b12). I'm running on a 4 core server with 8 GB of RAM in the us-east-1 amazon data center using a c5.xlarge instance type. |
I can give you my database, if you wish. Just extract it and then start your node with it. |
That would be awesome - would you be able to share via dropbox? |
No, just use this link: https://iota.lukaseder.de/download.html (I'm sorry, but this service is discontinued. Use the download on iota.partners instead.) |
Did it work? |
It worked! I'm in sync. Thank you so much! |
is it possible to get a fully synced database to download and to speed up syncing? |
I can export it again, if you don't find somebody who can help you (everyone could do this). I will develop an automagical export every night UTC 4h or something like that the next days. |
Please export it again |
Download it here: https://iota.lukaseder.de/download.html (I'm sorry, but this service is discontinued. Use the download on iota.partners instead.) |
That is what I posted to slack. repeat it here.Sync problem.
[10:43]
[10:44] |
thanks, my old db seemed to be anyhow corrupted, now I can connect with light wallet |
I can support what @lunfardo314 summarized. |
that's quite a machine for IOT node! |
Download the database. |
@paulhandy I analyzed a lot of powerful PC, SERVERS, VPS, THERE AREN'T MEMORY PROBLEMS, NO BOTTLENECKS, NO CRASHED, NO ERROR MESSAGES AND THE PROCESS IS RUNNING SMOOTHLY. **** HELP FOR ALL THE USERS HAVING THE PROBLEM****
|
I wonder if one can prove in theory that this manual sync process will ever converge in fully synced nodes. In my opinion the danger of having isles of nodes syncing forever without being fully synced is immanent, |
Did someone tried to analyze thread- and heapdumps or debug a running iri instance in this state already? |
I was also having problems with the memory. and my full node was crashing and not fully synced with 7 peers. my steps to fix:
Maybe that helps for some people...( IRI version 1.4.1.2 ) |
Ok guys. The sad truth is: This software is in beta. I'm recording very detailed performance statistics since i'm running my open wallet node. These collected data tell:
I guess in the current state of IRI this should just be considered "normal" and will be optimized in the future. Every try to solve this by tweaking system settings just won't solve the real problem. I for my part will "solve" these issues by throwing more and more hardware on my public node until the next snapshot happens. A quick "solution" for the network would be to take a snapshot. |
From my observation of a running node I would also suggest to run without -Xmx and -Xms flags because most of the memory which is used by iri is in native memory and used by rocksdb from my understanding. So I would suggest to add some swap to avoid the well known bad::alloc memory errors but to give rocksdb as much physical memory as possible. |
@eelco2k nice find! Just to add, there's no need to reboot: |
My node has the same problem of just not syncing up as @lunfardo314 described. The vm.swappiness adjustment didn't help and so didn't all other tips in this threat. The question is if there is any kind of log file which could help debug the issue or how else one can help? |
@Schweigi did you try to d/l a fully synced database? |
@nuriel77 I was using the Swarm nodes (according to Slack #nodesharing) to help sync my node but it made no difference. I solved the problem now - long story short: |
@Schweigi The -Xmx8g makes sense. But concerning the OP problem using iota.partners (and downloading an up-to-date DB) is just a workaround. |
Hello, where would I put this database? Many thanks |
@mostaruk that depends on which guide/tutorial you've been following |
@nuriel77i am using this one https://github.com/nuriel77/iri-playbook/wiki/IOTA-Full-Node-Tutorial---Linux |
There's a section in the FAQ explaining this https://github.com/nuriel77/iri-playbook/wiki/IOTA-Full-Node-Tutorial---Linux#where-can-i-get-a-fully-synced-database-to-help-kick-start-my-node If you need more help contact me on slack (nuriel77) |
Ahh yes sorry about that. Should have probably read the FAQ! Thanks, I'll look you up on slack. |
thanks for all the efforts here, but do we have any official statement here from the devs? i mean like a long term solution as a hotfix / commit to 1.4.1.3 please ? |
I hardly consider the OP's workaround to be viable. Here's the typical experience. After this DB work is finished, the node will finally begin synchronizing to the network. It usually takes a minimum of 40 minutes to get to this point. Allow another hour for synchronization to take place, and you are getting close to 2 hours from start of DB download to point of synchronization. Considering that I'm seeing nodes getting stuck after 4-5 hours of operation, you are looking at an effective 60-70% duty cycle. The OP's solution cannot be considered a workaround, let alone a solution. :( |
@zenmetsu, the workarount is tested, viable and helped lot of new users, please read again the suggetions, there is an update. |
Please read #428 |
Dear IOTA FUNDATION and DEVELOPERS, I'm a systems analyst and Java developer, I'm helping lot of persons to setup a full node but I can notice there are many full nodes not fully synched after weeks with a few transactions to request (around 10 in one hour) and sometimes their database is too big. Obviously they can't use their full nodes with the wallet. Even in https://iotatangle.slack.com is full of users having this problem.
I can guarantee there aren't hardware or software issues, they have full synched neighbors (tcp and udp).
I analyzed a lot of powerful PC, SERVERS, VPS, THERE AREN'T MEMORY PROBLEMS, NO BOTTLENECKS, NO CRASHES, NO ERROR MESSAGES AND THE PROCESS IS RUNNING SMOOTHLY.
I believe IOTA will bring a real freedom and I'm supporting it as much as I can.
I would like to understand why these nodes never became totally synched (Latest Milestone Index=Latest Solid Milestone Index) and why they have so little transactions so please can you explain me if there are any specific requirement I'm not aware about?
Waiting for your explanation
Thanks in advance
***** UPDATE **************
I FOUND AND TESTED TWO DIFFERENT SOLUTIONS FOR THE PROBLEM (ONLY IF YOU FOLLOW THESE SUGGESTIONS AND ANYWAY YOU WILL NOT BECOME FULL SYNC, FOLLOW THIS OTHER INSTRUCTIONS #409.
FIRST SOLUTION
I hope the developers we'll fix the problem soon, in the meantime how to solve the problem:
SECOND SOLUTION
add LiQio's udp://94.156.128.15:14600 and udp://185.181.8.149:14600 swarm nodes. They will add you back automatically. When you become full sync remember to remove the swarm nodes.
The text was updated successfully, but these errors were encountered: