Last night one of my nodes feel behind sync. Someone suggested I set the heap size explicitly when running the iri with -Xmx6500m
.
java -Xmx6500m -jar iri-1.4.1.4.jar -c iri.ini
I did that and both my nodes started consuming more RAM. However, it seems that neither of nodes are syncing at all now. They have booth fell way behind in terms of milestones. 307935 and 308195.
Does anyone know what's happening here or how I can resolve this?
Both nodes seem to be working fine otherwise:
curl http://173.212.242.212:14265 -X POST -H 'Content-Type: application/json' -H 'X-IOTA-API-Version: 1.4' -d '{"command": "getNodeInfo"}'
curl http://144.217.243.6:14265 -X POST -H 'Content-Type: application/json' -H 'X-IOTA-API-Version: 1.4' -d '{"command": "getNodeInfo"}'
Both nodes are running iri 1.4.1.4, nelson 0.2.4 on Debian 9 VPS with at least 2 cores, 8Gb of RAM and, 30 GB SSD.
OutOfMemoryError
in the logfiles? – mihi Dec 21 '17 at 23:57Which logs specifically?
– currenthandle Dec 22 '17 at 00:03/opt/iri/target# grep -r 'OutOfMemoryError' mainnet.log/
gives no output.java -Xmx7g -jar iri-1.4.1.4.jar -c iri.ini > out.log 2> error.log
here is my error.log and my output.log (https://gist.github.com/anonymous/daeb6b4223ef124e9005a1fedcb5f5d9)There is no instance of the string
memory
in either.Could it be another issue?
– currenthandle Dec 25 '17 at 00:49milestone tracker
it is obvious that around 05:40:14 the solid milestone tracker must have somehow died or gone into an infinite loop as it did not log anything more in the next 14 hours although milestones were received. Perhaps open an issue on github? – mihi Dec 25 '17 at 12:02