mist icon indicating copy to clipboard operation
mist copied to clipboard

New Geth 1.7.0 is the worst yet

Open powpig opened this issue 9 years ago • 12 comments

  • [Yes ] I've asked for help in the Mist Gitter before filing this issue.
Version: `9.0.0`
OS & Version: Windows 10
Node version: `geth 1.7.0` 
Number of blocks synchronized: 4268805   Over 20K remaining

I uninstalled the old Geth 1.6.7 and downloaded and installed the new 1.7.0. I was able to get through about 2000 Blocks per 24 hour period with the old Geth 1.6.7. I opened the new Geth 1.7.0 directly and let it run for 6 hours, it only got through 333 Blocks. I closed it, re-synced the time on my system clock and opened it again. It just took 34 minutes to download 10 Blocks. Back to the drawing board guys, this Geth 1.7.0 is garbage! The worst Geth yet.

powpig avatar Sep 19 '17 07:09 powpig

See https://github.com/ethereum/go-ethereum/issues/15001

wtfiwtz avatar Sep 25 '17 07:09 wtfiwtz

Update: Finally working! See Update below

Spent ~4 days testing on a decent system: We probably have a problem with GETH Megara (v1.7.0)

I'm using GETH and Mist from the beginning on. Geth and Mist usually worked fine for me since they exist. But my local blockchain grew up to ~227GB with ~125,630 ldb files over the last ~1,5y and I wanted to sync a fresh copy now.

The good: GETH (0.7.0) works on that old large chain with no problems at all! The bad: It simply won't sync (from scratch). Tested all "tricks" I found around here, but it wont finish syncing (details below)

Test machine: W7x64, [email protected], 32G RAM, 8Core, 1TB SSD No RAM problems, no network problems (6MBit). I tryed several starts from scratch (with empty chain folder C:\Users\XXX\AppData\Roaming\Ethereum\chaindata).

Some experience and details from my last test:

(Not starting sync through mist but from console)

geth.exe --fast --cache 4096 Node starts ok in fast mode: grafik

grafik

... after running 10h everything is still fine grafik

grafik

grafik

... so we nearly ran up to the last (current) block, but now it only "Imported new state entries". Just ~250 blocks missing (compared to www.etherscan.io)

... waiting some more time but the LOG shows no new entries, and no files are touched by geth anymore:

grafik

Now fired mist (v0.9.0) and "Launch Application" just to see whats showing up there: grafik

Status: No blocks added and bad account values shown. Hanging at 99% blocks.

(Q: Is anybody here who waited maybe another ~2 days in this state an was successfull?)

Now stopping GETH with ctrl-c. + shutting down Mist. Last LOG entry is now: grafik That means there where no LOG entries any more for some time.

Restarting GETH, "just in case" ;-) : grafik

Have been here before : Never ending "Imported new state entries" ... Giving up for now.

My conclusion:

  • GETH is currently not syncing from scratch here
  • No chance to sync without SSD (Disc IO was crazy! )
  • Newcomers will be probably irritated by this "user experience"

I finally installed parity and was fully synced (in warp mode or so ) in ~2,5h? Imported the mist wallets. Works like a charme. (I never touched parity before ...)

For now my 227GB GETH chain is syncing fine and I will keep it alive until there is a solution for this hassle. Well, that's not a pretty solution.

Sorry for the lengish post, but maybe it's usefull to someone else having similiar trouble. This is not meant as a rant at all. I appreciate all the work done here!

Thank you.

--------------- Update: finally working---------------- I let it sit there and and finally: It was synced after some more hours.

Restarted GETH and now it's smooth: grafik

And also Mist is now working: grafik

Was a rough ride to here which used up ~1,5TB SSD lifetime ;-)

RiverRhine avatar Sep 28 '17 17:09 RiverRhine

@RiverRhine you need to look for these log entries: "Imported new chain segment" - these are getting starved through the network. If you disconnect and reconnect from the network, you might get some more diverse peers that have these segments.

You also need to be on geth 1.7.0 as there was a change from block 1.7M onwards... see https://github.com/ethereum/go-ethereum/issues/15185

It gets there eventually, but with some persistence.

wtfiwtz avatar Sep 29 '17 01:09 wtfiwtz

"It gets there eventually, but with some persistence."

I keep hearing this but I'm having my doubts.

Been running Geth virtually non-stop since early Aug, (always updating with the newest release), that's almost 2 months straight and I just keep falling further behind, currently about 32K blocks behind and not gaining.

The new Geth 1.7.0 has sped up since I first posted above 10 days ago, I've downloaded 4672 in the last 48 hours, so just less than 100 blocks per hour. At this rate it'll take me almost 2 weeks just to catch up to where I could sync today. By then, I'll be who knows how far behind.

I was able to sync back in July without too much trouble but something has changed since then.

powpig avatar Sep 29 '17 03:09 powpig

geth --cache=2048 console

> admin.addPeer("enode://111767f1b1f7e8047c61c6f6daccbe6e16ee5b81034b492d756869d5994db052b6aaea701b7c57a5093df96a2eed2a2396543614f9a227a760eb50d0f3eb770f@210.84.23.51:30303")

Try that... I'm downloading now and am only 5000 blocks behind (and catching up fast)

wtfiwtz avatar Sep 29 '17 03:09 wtfiwtz

Thanks for the suggestion wtfiwtz. Gave that a try and got only slightly better results Ran it for 12 hours and downloaded 1417 blocks I also noticed that not every block got downloaded with your "fix" As you can see, block #s 4292271 & 4292277 (and others) did not get "imported". Any explanation why? gethsnip

powpig avatar Sep 29 '17 15:09 powpig

admin.addPeer("enode://111767f1b1f7e8047c61c6f6daccbe6e16ee5b81034b492d756869d5994db052b6aaea701b7c57a5093df96a2eed2a2396543614f9a227a760eb50d0f3eb770f@210.84.23.51:30303")

hi, @wtfiwtz. Is this a special peer?

evertonfraga avatar Sep 29 '17 17:09 evertonfraga

@RiverRhine that's such a great write-up!

@powpig keep in mind Mist and Geth are related projects, but they are not the same. For issues with geth, please refer to their repository: it'll be easier to troubleshoot your problems.

https://github.com/ethereum/go-ethereum

evertonfraga avatar Sep 29 '17 17:09 evertonfraga

@evertonfraga no it was just my machine, which caught up to the latest blocks pretty quickly... unfortunately I couldn't keep it running indefinitely.

wtfiwtz avatar Sep 29 '17 22:09 wtfiwtz

Pfff...sadly ethereum is a sad pile of cr@p and seems to be an obvious scam. Years of preparation to launch it were possible, and to make it great BEFORE launching the platform...a single skilled engineer could have made it GREAT...yet ethereum sadly seems to be [email protected] least the tools are. "Node needs to sync" every f'ing day and every time any eth cr-app is opened. Yet, none of them ever seem to finish.

01GOD avatar Oct 27 '17 22:10 01GOD

I think the ethereum blockchain is rigged to be difficult to fully download. Hiding something.

01GOD avatar Oct 27 '17 22:10 01GOD

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

lock[bot] avatar Apr 10 '18 13:04 lock[bot]