3

I started with geth wallet the first time. Got to near the finish and it started itself over at the beginning. The last four times have been with parity, which seems to queue forevever and then crashes with a fatal memory error. have tried parity with geth option and without. Have installed latest versions of wallet and parity. Ubuntu 16.04 Started Oct 1. last crash today 10/15

trying now with docker/win10

  • parity back up after last crash. synching 24422554, Qed 2446525 – uberdave Oct 15 '16 at 19:34
  • 3 MiB queue 1 MiB sync 2016-10-15 15:01:04 Block import failed for #2422615 (b8f4…2415) Error: Trie(IncompleteDatabase(5d841b5e6739a611e45d46284351427f37d0b3409220ccf976505877e8e81175)) – uberdave Oct 15 '16 at 20:06
  • Your last IncompleteDatabase issue is a bug where the database is corrupted after an out of memory error. See github.com/ethcore/parity/issues/2603 . – The Officious BokkyPooBah Oct 15 '16 at 20:52
  • wow. docker already halfway. looks like anything over ubuntu 14.04 is going – uberdave Oct 15 '16 at 20:55
  • fail again around 2,100,000 stack backtrace: 0: 0x7ff7608b001e - <unknown> 1: 0x7ff7608adf13 - <unknown> 2: 0x7ff7608ae9dd - <unknown> 3: 0x7ff7608ae826 - <unknown> 4: 0x7ff7608ae784 - <unknown> 5: 0x7ff7608ae71b - <unknown> 6: 0x7ff7608bb975 - <unknown> 7: 0x7ff7604087aa - <unknown> 8: 0x7ff7605052c7 - <unknown> 9: 0x7ff7603c012c - <unknown> 10: 0x7ff7608b21e1 - <unknown> 11: 0x7ff76041b1f5 - <unknown> 12: 0x7ff7608abd1e - <unknown> 13: 0x7ff83d338101 - BaseThreadInitThunk – uberdave Oct 16 '16 at 3:05
2

You have 6Gb RAM and a terabyte HDD. I'll assume you have allocated some swap drive to expand your total memory to more than 6Gb.

The current rounds of attacks on the Ethereum network started on the morning of the Devcon2 conference.

This first attack targeted a geth memory bug - see Security alert – All geth nodes crash due to an out of memory bug.

The second round of attacks targeted a "cheap" method of using a lot of hard disk resources - see The Ethereum network is currently undergoing a DoS attack and Transaction spam attack: Next Steps.

The result of the attacks above is to slow down the Ethereum network clients by requiring more memory to process the spam transactions, more disk accesses to retrieve the data required to process the spam transactions and more CPU usage to process the spam transactions.

My virtual server is constantly dropping out due to an out-of-memory error - it only has 4Gb RAM + 4 GB swap drive, but it runs on SSD drives. Both geth and Parity run out of memory. With Parity, I've just restarted it and have not encountered the IncompleteDatabase error you experienced (which requires a clean out and full sync again).

My solo mining node has 8Gb RAM + 8 Gb swap drive and runs on 250 Gb SSD on a low spec Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz and it has been keeping up with the syncing (except for the first memory bug attack).

So:

  • If possible, switch from your 1 Tb HDD to a SSD. Otherwise just put up with the processing speed due to the second round of attacks.
  • Before restarting a sync, remove your old chain data and if you are using geth, sync with the command geth --cache=1024 --fast console. You can try a smaller cache size, but if you have 6Gb RAM + 6Gb swap drive, --cache=1024 should be good.
  • Update all your software - see HARD FORK IN LESS THAN 24 HOURS. UPGRADE YOUR CLIENT [OFFICIAL ETHEREUM UPDATE LINKS] for the most recent executables.

If you are using geth on Linux, use the command geth removedb, or delete ~/.ethereum/chaindata to clear your chain data. On Windows, search this site for the appropriate directory to clear.

From past experience, if geth crashes while processing the fast and non-fast sync, the chain data does not get corrupted (unlike the particular bug in Parity that you encountered).

See Ethereum mining after fast sync about fast sync restarting. Your fast sync has to complete a certain stage otherwise it will have to restart syncing from the beginning.

Just persist, it will eventually work. Good luck.

  • 2
    finally got it to sync on a digital ocean account. 8 gigs memory ubuntu 16.04 – uberdave Oct 20 '16 at 23:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.