nanocurrency / nano-node

Nano is digital currency. Its ticker is: XNO and its currency symbol is: Ӿ
https://nano.org
BSD 3-Clause "New" or "Revised" License
3.47k stars 785 forks source link

Slow PC unable to sync #872

Closed lukefor closed 5 years ago

lukefor commented 6 years ago

Description of bug:

Only once in a blue moon does my node start up correctly. 99% of the time it does not fully sync and sits maxxing out the disk with reads and spamming:

While spamming these it seems to receive and handle brand new blocks correctly, but it never receives the blocks between when it was last stopped and when it was started. It does not seem to matter how many blocks are missing - 10000 behind or an entire fresh bootstrap behave the exact same way. I have tried leaving it for several days 24/7 with no change.

In the rare case where it does start correctly, it stays working and synced 24/7 until restarted.

The bug has been present since I started trying to run a node around version 10, have tried all versions since in the hopes it would be fixed.

Steps to reproduce the issue:

  1. Set up node on a very slow machine (CPU and disk)
  2. Start node and watch logs/stats

Environment:

logs

log_2018-05-15_19-06-48.674.log

lukefor commented 6 years ago

Transferred the config and data.ldb to another (much faster) server and it synced fine straight away, so whatever the issue is seems to be performance based

ghost commented 6 years ago

I am having this same issue on my Dell XPS 13 9360 (i7, 16GB ram) with the 13.0 release.

I have a slow (ish) connection - around 1mbit.

However it seems to be better on 12.1, but still isn't getting new blocks.

I have manually bootstrapped as well.

This is running nano_wallet on linux.

lukefor commented 6 years ago

Same situation on version 14

zhyatt commented 5 years ago

Closing out as resolved in v17.