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?/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 (gist.github.com/anonymous/daeb6b4223ef124e9005a1fedcb5f5d9) There is no instance of the stringmemory
in either. Could it be another issue?