iri icon indicating copy to clipboard operation
iri copied to clipboard

Node is not fully syncing

Open SimonVillage opened this issue 9 years ago • 16 comments

Hi there,

I am running a server with 4 cpu, 16gb but can't get my node synced. I have about 10 active neighbors one of them tcp.

I let the server run for 3 days but latestSolidSubtangleMilestoneIndex is still different to latestMilestoneIndex

    [1] {
                                   "appName" => "IRI",
                                "appVersion" => "1.4.1.2",
                    "jreAvailableProcessors" => 4,
                             "jreFreeMemory" => 1368775968,
                                "jreVersion" => "1.8.0_151",
                              "jreMaxMemory" => 3739746304,
                            "jreTotalMemory" => 2597847040,
                           "latestMilestone" => "GVUIGJXGCXDBBBZ9VWLTITNHQVTBLJCXXUPSIJYSQX9XTHEKZLCJVEICQ9YDKOCPASJHFJBOGSKP99999",
                      "latestMilestoneIndex" => 287688,
             "latestSolidSubtangleMilestone" => "CHQKSCXYWKSMUY9OYHIDTY9YEJEBBDEYOWTKRBAQCMXBRVQGUUULYPKWKGEPURTWIXPJWSJPPPKXA9999",
        "latestSolidSubtangleMilestoneIndex" => 287657,
                                 "neighbors" => 11,
                          "packetsQueueSize" => 0,
                                      "time" => 1511432520097,
                                      "tips" => 1186,
                     "transactionsToRequest" => 4,
                                  "duration" => 0
    }

after restart latestSolidSubtangleMilestoneIndex jumps to the same count of latestMilestoneIndex and doesn't change anymore.

SimonVillage avatar Nov 23 '17 10:11 SimonVillage

I have the same problem. Node is running with 2 cpus at 100%

Pomyk avatar Nov 24 '17 23:11 Pomyk

How many tcp / udp neighbors you have?

Edit: We added only udp neighbors. Now I switched to a few tcp neighbors and they send 10x more transactions than the udp! Maybe this time. I will update when I got it work.

SimonVillage avatar Nov 25 '17 05:11 SimonVillage

I have 5 udp and 1 tcp neighbor (but it's not active currently)

Pomyk avatar Nov 25 '17 12:11 Pomyk

Have you guys figured out a solution for this? Been trying to run a node for a week and keep having this problem.

DustinEwan avatar Nov 27 '17 05:11 DustinEwan

Same issue here. have been running iri for months successfully, but now it won't sync completely anymore. Also 1.4.1.2 won't run at all for me on Windows.

hapklaar avatar Nov 27 '17 18:11 hapklaar

I am experiencing this issue too. 4 good neighbours, running 24/7, a mixture of udp and tcp, the latestSolidSubtangleMilestone does not increment while my latestMilestone stays within ~10 of the #botbox latest milestone.

If I restart the service with revalidate and rescan_db as TRUE in my .ini then the latestSolidSubtangleMilestone catches up but does not increment thereafter.

waveybish avatar Dec 05 '17 14:12 waveybish

{
"appName":"IRI", "appVersion":"1.4.1.2", "jreAvailableProcessors":2, "jreFreeMemory":566714152, "jreVersion":"1.8.0_151", "jreMaxMemory":1419771904, "jreTotalMemory":1419771904, "latestMilestone":"CBUFYF9GXYJGSTSGICMFJEMDCXNFHQJYSZQLAIPTQQQBUPUIBVCENWXUAAZPYLXNPZKQJBKNJEPI99999", "latestMilestoneIndex":296476, "latestSolidSubtangleMilestone":"OXVKEKCMGGMNRMKSIXIB9RWBSTAXZYUVSIOUOVGYOCIDNVOUNTMMYDUS9IPFWBLVGUIYBOAWHXKM99999", "latestSolidSubtangleMilestoneIndex":296366, "neighbors":4, "packetsQueueSize":0, "time":1512483834709, "tips":9151, "transactionsToRequest":13567, "duration":0 }

waveybish avatar Dec 05 '17 14:12 waveybish

Same here.

agus-xyz avatar Dec 05 '17 14:12 agus-xyz

same here

ghost avatar Dec 10 '17 17:12 ghost

Hi, I'm the maker of http://iota.partners that many people have used to install a node. From this experience I can say that in most cases it is due to bad neighbours and very rarely to the hardware.

Try to reduce your number of neighbors: 4-7 good ones are absolutely sufficient.

zoran avatar Dec 10 '17 17:12 zoran

I have 5 neighbors.

ghost avatar Dec 10 '17 17:12 ghost

Thanks for the http://iota.partners how to. Gratefully helpful. To me it also solved the problem changing to a 2cores 4GB ram SSD (SSD is important) server.

agus-xyz avatar Dec 10 '17 17:12 agus-xyz

this can of course only be a coincidence ;)

zoran avatar Dec 10 '17 18:12 zoran

There is very clear evidence that system resources matter! When the last snapshot happened a long time ago most of the regular nodes with "minimum requirement resources" just can't keep up. (Minimum requirements = 2 GB RAM.)

You currently can get lucky with 4 GB of RAM and 2 Cores when your VPS provider has no other highly loaded VMs on the hypervisor which hosts your VM but thats it.

I hosted 3 iota full nodes, one of them an open wallet server. 2 Of these nodes were a test environment with more and less limited resources over about 3 months and 3 snapshots.

While the size of the database increases, the node with less resources (one vm got capped in cycles available for the vCPUs) stucked more and more. the neighbours didn't change "that strong" and I recorded load, memory, milestones, traffic, etc. every minute. (Just like you can see here: https://iota.lukaseder.de/load.html but with more things recorded.)

There ofc are no "hard caps" when IRI will run successfully or when not. For instance you can run IRI greatly with 4 G of RAM, when you have a fast ssd or even use (additional ram for) a ram disk. Or when you have a provider with higher cpu clocks like the very common 2 GHz-Many-Core-Xeons. Or when there is no high load on the hypervisor. Or...

GhostTyper avatar Dec 10 '17 20:12 GhostTyper

solution: I downloaded new DB and deleted log and mainnetdb folder. no rescan!

ghost avatar Dec 10 '17 20:12 ghost

You can get more support by joining our discord - #fullnodes channel

Common IOTA discussion boards:

alon-e avatar Apr 25 '18 17:04 alon-e