Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

New Geth 1.7.0 is the worst yet #3055

Closed
powpig opened this issue Sep 19, 2017 · 12 comments
Closed

New Geth 1.7.0 is the worst yet #3055

powpig opened this issue Sep 19, 2017 · 12 comments
Labels

Comments

@powpig
Copy link

powpig commented Sep 19, 2017

  • [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.

@wtfiwtz
Copy link

wtfiwtz commented Sep 25, 2017

See ethereum/go-ethereum#15001

@RiverRhine
Copy link

RiverRhine commented Sep 28, 2017

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, I7-3740QM@2.7GHz, 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 ;-)

@wtfiwtz
Copy link

wtfiwtz commented Sep 29, 2017

@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 ethereum/go-ethereum#15185

It gets there eventually, but with some persistence.

@powpig
Copy link
Author

powpig commented Sep 29, 2017

"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.

@wtfiwtz
Copy link

wtfiwtz commented Sep 29, 2017

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)

@powpig
Copy link
Author

powpig commented Sep 29, 2017

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

@evertonfraga
Copy link
Member

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

hi, @wtfiwtz. Is this a special peer?

@evertonfraga
Copy link
Member

@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

@wtfiwtz
Copy link

wtfiwtz commented Sep 29, 2017

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

@01GOD
Copy link

01GOD commented Oct 27, 2017

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 cr@p...at 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
Copy link

01GOD commented Oct 27, 2017

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

@lock
Copy link

lock bot commented Apr 10, 2018

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 lock bot locked and limited conversation to collaborators Apr 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants