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

GETH 1.4.18 Sync slow like up to hours between each block importation #1397

Closed
WoRiX opened this issue Nov 8, 2016 · 5 comments
Closed

GETH 1.4.18 Sync slow like up to hours between each block importation #1397

WoRiX opened this issue Nov 8, 2016 · 5 comments

Comments

@WoRiX
Copy link

WoRiX commented Nov 8, 2016

System information

Version: `geth-1.4.18-stable-c72f545-windows-4.0-amd64.exe'
OS & Version: windows 7
Node type: `eth/geth(default)`

I now launch GETH manually in a windows command prompt since when I launch it with the UI I have no information about what's going on (well nothing is going on)

This is what I use ===> geth-1.4.18-stable-c72f545-windows-4.0-amd64.exe --maxpeers 100 --maxpendpeers 100 --cache=2048

The process use 2.6g (Now 4.2g) of RAM. It's been like freaking 6 weeks I tried to get the full blockchain. I try the Geth --Fast (after removing the data) no luck ... stuck during the process.

So I restarted again ... then this is where I am now since like 4 days. I move 20k block AT BEST.

This is the result ...

I1107 21:53:45.679698 ethdb/database.go:83] Alloted 2048MB cache and 1024 file h
andles to C:\Users\WoRiX\AppData\Roaming\Ethereum\chaindata
I1107 21:53:46.244698 cmd/utils/flags.go:837] 

I1107 21:53:46.245698 cmd/utils/flags.go:838] Geth is currently configured to SU
PPORT the DAO hard-fork!
I1107 21:53:46.246698 cmd/utils/flags.go:839] You can change your choice prior t
o block #1920000 with --support-dao-fork or --oppose-dao-fork.
I1107 21:53:46.246698 cmd/utils/flags.go:840] After the hard-fork block #1920000
 passed, changing chains requires a resync from scratch!
I1107 21:53:46.247698 cmd/utils/flags.go:841]

I1107 21:53:46.247698 ethdb/database.go:176] closed db:C:\Users\WoRiX\AppData\Ro
aming\Ethereum\chaindata
I1107 21:53:46.292698 ethdb/database.go:83] Alloted 2048MB cache and 1024 file h
andles to C:\Users\WoRiX\AppData\Roaming\Ethereum\chaindata
I1107 21:53:46.682698 ethdb/database.go:83] Alloted 16MB cache and 16 file handl
es to C:\Users\WoRiX\AppData\Roaming\Ethereum\dapp
I1107 21:53:46.686698 eth/backend.go:172] Protocol Versions: [63 62], Network Id
: 1
I1107 21:53:46.687698 eth/backend.go:201] Blockchain DB Version: 3
I1107 21:53:46.832698 core/blockchain.go:214] Last header: #2519059 [1196c83e.]
TD=82492096334586731922
I1107 21:53:46.833698 core/blockchain.go:215] Last block: #2306626 [791f82e0.] T
D=64035446474887860040
I1107 21:53:46.834698 core/blockchain.go:216] Fast block: #2516266 [3b98923e.] T
D=82200465038935701854
I1107 21:53:46.837698 p2p/server.go:313] Starting Server
I1107 21:53:48.270698 p2p/discover/udp.go:217] Listening, enode://0e644f3059a58d
67fce93554da7370f67a2eb6708d190ae141f4c86a9719a3a70e2ce0353cacab417d896fc55e8718
fb5c0a26fdd83ffce6aad1193f3fb186e2@0.0.0.0:30303
I1107 21:53:48.272698 p2p/server.go:556] Listening on [::]:30303
I1107 21:53:48.273698 node/node.go:296] IPC endpoint opened: \\.\pipe\geth.ipc
I1107 21:53:54.830698 eth/downloader/downloader.go:319] Block synchronisation st
arted
I1107 22:16:36.081698 core/blockchain.go:1001] imported 1 block(s) (0 queued 0 i
gnored) including 9 txs in 21m57.654s. #2306627 [728ca437 / 728ca437]
I1107 22:16:44.119698 core/blockchain.go:1001] imported 34 block(s) (0 queued 0
ignored) including 225 txs in 8.038s. #2306661 [728ca437 / daab5eb0]
I1107 22:16:52.748698 core/blockchain.go:1001] imported 11 block(s) (0 queued 0
ignored) including 91 txs in 8.629s. #2306672 [daab5eb0 / ece1b005]
I1107 22:17:04.511698 core/blockchain.go:1001] imported 43 block(s) (0 queued 0
ignored) including 146 txs in 11.763s. #2306715 [ece1b005 / 4caf13e7]
I1107 22:17:16.993698 core/blockchain.go:1001] imported 17 block(s) (0 queued 0
ignored) including 247 txs in 12.482s. #2306732 [4caf13e7 / 7fe78bdf]
I1107 22:17:28.200698 core/blockchain.go:1001] imported 40 block(s) (0 queued 0
ignored) including 174 txs in 11.207s. #2306772 [7fe78bdf / f4e7a591]
I1107 22:38:10.610698 core/blockchain.go:1001] imported 4 block(s) (0 queued 0 i
gnored) including 97 txs in 20m42.41s. #2306776 [f4e7a591 / 18eb796f]
I1107 23:20:21.971698 core/blockchain.go:1001] imported 4 block(s) (0 queued 0 i
gnored) including 130 txs in 42m11.361s. #2306780 [18eb796f / 0fb37879]
I1107 23:20:31.616698 core/blockchain.go:1001] imported 17 block(s) (0 queued 0
ignored) including 102 txs in 9.645s. #2306797 [0fb37879 / de224a57]

21m to get one block ... 42 mins ? I had over 3-4 hours without nothing yesterday.

Port 30303 is forwarded correctly ...

Update 1

I1108 14:57:13.070175 core/blockchain.go:1001] imported 2 block(s) (0 queued 0 i
gnored) including 5 txs in 17.5920062s. #2331529 [914f716e / 9aeecf0a]

Update 2

I1108 23:23:54.623044 core/blockchain.go:1001] imported 3 block(s) (0 queued 0 i
gnored) including 11 txs in 10m31.6651292s. #2333310 [d9387618 / bd088533]

Update 3

I1109 15:52:09.267504 core/blockchain.go:1001] imported 5 block(s) (0 queued 0 i
gnored) including 32 txs in 8m8.2209247s. #2333753 [d14cecca / 0a34a0a7]

Update 4

Gave up, trying ETH now.
@luclu
Copy link
Contributor

luclu commented Nov 13, 2016

@WoRiX this is related to #1316 (comment)

Please do one of the following:

  • wait for the second HF, to mitigate the bloated state storage
  • try parity (and it's warp-sync feature)
  • use a SSD instead of a HDD
  • wait for the upcoming 1.5.0 release of geth with alpha-stage support of its light-client implementation

@WoRiX
Copy link
Author

WoRiX commented Nov 15, 2016

so, with ETH still no luck ... went back to Geth --Fast -Cache 2048. I finally made it ... i'm only trailing 1000 block behind. It took like a day or so. I renamed my chaindata folder before starting the process.

Now I Launched the wallet UI and it's downloading the structure. Balance still at 0. I guess I have to wait for that.

@luclu
Copy link
Contributor

luclu commented Nov 16, 2016

This sounds good! I will close this issue for now, should you still encounter problems, please come back here.

@luclu luclu closed this as completed Nov 16, 2016
@yihaient
Copy link

@luclu
IT will not fully sync please help. Stops at 99%
I have the updated download app and my macbook pro is brand new. Please help thank you.

@lock
Copy link

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

No branches or pull requests

3 participants