ethereum / mist

[DEPRECATED] Mist. Browse and use Ðapps on the Ethereum network.
http://ethereum.org
GNU General Public License v3.0
7.44k stars 2.12k forks source link

Slow sync causing many issues #3551

Closed mydigitalself closed 6 years ago

mydigitalself commented 6 years ago
Version: `0.9.3`
OS & Version: windows/linux/osx
Node version: `geth 0.0.0` 
Number of blocks synchronized: 0

I filed this yesterday: https://github.com/ethereum/mist/issues/3544

TLDR: Slow sync is causing wallets not so show balances properly or transactions not to confirm.

Solution: Wait a very long long time for your wallet to sync and get to 0 blocks remaining or look to use an alternative wallet such as Parity.

And have been hanging around on ethereum/welcome and ethereum/mist for the last 24 hours.

Within that period, here's just a sampling of messages of people experiencing this problem. Other than people asking where to buy Ether, it's pretty much the # 1 problem people are coming into the channel for, so perhaps it would be good to investigate further. If you are creating a viable wallet for people to use, it shouldn't be this painful.

I'm very happy to help get involved in a "product management" level, I have a lot of experience in this field, so just shout.

https://gitter.im/ethereum/welcome?at=5a56dffd61a861c927fbd034

Hi I send etherium from Kraken to another exchange called alticion trade it been 10hrs still my etherium hasn't reflected address is fine what could be the issue

https://gitter.im/ethereum/welcome?at=5a56f487ce68c3bc74a3bf80

So I got ether into the Ethereum Wallet and now I cannot get it out no matter what I do! WTF do you have to do to actually get the ether to send - Say back to coinable or something

https://gitter.im/ethereum/welcome?at=5a56c2ce290a1f4561742cde

Is anyone able to help me? My wallet still shows an empty balance.

https://gitter.im/ethereum/welcome?at=5a56ad7c232e79134defc2bb

I have the same problem, one day ago I've sent eth from coinjar to myetherwallet, accodring to coinjar it was succesfull but it doesnt shop up yet. what to do

https://gitter.im/ethereum/mist?at=5a568a4d232e79134def10c4

sigh, I synced 150 blocks in the last 19 hrs ish....

https://gitter.im/ethereum/mist?at=5a568a4d232e79134def10c4

In the past month or so, I've installed Ethereum Wallet on 3 machines. Each time, it has gotten stuck like that.

https://gitter.im/ethereum/mist?at=5a5699965a9ebe4f75704a35

I am stuck syncing as well

pinney commented 6 years ago

After more than a week of ...

Ethereum node needs to sync, please wait...

running the 'splash window" not the 'browser'

mist --syncmode fast --cache=4096

Downloading block 4,886,204 of 4,886,908

Downloading block 4,886,826 of 4,886,977, Downloading chain structure 9,229 of 25,783

Downloading block 4,886,826 of 4,886,977, Downloading chain structure 166,275 of 180,141

Downloading block 4,887,246 of 4,887,570

Downloading block 4,887,516 of 4,887,615, Downloading chain structure 1,354 of 2,683

Downloading block 4,887,516 of 4,887,615, Downloading chain structure 145,400 of 158,630

Downloading block 4,887,516 of 4,887,615, Downloading chain structure 172,804 of 180,059

Downloading block 4,887,516 of 4,887,615, Downloading chain structure 242,612 of 248,555

Downloading block 4,887,553 of 4,887,848

Downloading block 4,887,691 of 4,887,848, Downloading chain structure 144,112 of 157,253

Downloading block 4,887,878 of 4,888,210

Downloading block 4,887,955 of 4,888,231

Downloading block 4,888,194 of 4,888,272

Downloading block 4,888,194 of 4,888,280

Downloading block 4,888,204 of 4,888,286, Downloading chain structure 701 of 5,041

Downloading block 4,888,204 of 4,888,309

Downloading block 4,888,204 of 4,888,338, Downloading chain structure 1,948 of 3,884

Downloading block 4,888,204 of 4,888,338, Downloading chain structure 17,194 of 19,328

Downloading block 4,888,204 of 4,888,338, Downloading chain structure 26,980 of 33,583

Downloading block 4,888,204 of 4,888,588

Downloading block 4,888,326 of 4,888,737

Downloading block 4,888,598 of 4,888,782, Downloading chain structure 5,845 of 11,035

Downloading block 4,888,598 of 4,888,782, Downloading chain structure 130,471 of 147,655

Downloading block 4,888,598 of 4,888,782, Downloading chain structure 239,025 of 257,069

Downloading block 4,889,098 of 4,889,313, Downloading chain structure 441,605 of 450,522

Downloading block 4,889,512 of 4,889,626

Downloading block 4,889,512 of 4,889,678

Downloading block 4,889,512 of 4,889,785

Downloading block 4,889,514 of 4,890,094

Downloading block 4,889,903 of 4,890,094

Downloading block 4,889,984 of 4,890,135

Downloading block 4,889,984 of 4,890,163, Downloading chain structure 216 of 1,277

Downloading block 4,889,984 of 4,890,163, Downloading chain structure 45,878 of 52,097

Downloading block 4,889,984 of 4,890,163, Downloading chain structure 100,042 of 105,559

Downloading block 4,890,187 of 4,891,470

Downloading block 4,891,209 of 4,891,478, Downloading chain structure 445,244 of 461,234

Downloading block 4,891,209 of 4,891,478, Downloading chain structure 530,385 of 543,126

Downloading block 4,891,209 of 4,891,478, Downloading chain structure 634,509 of 657,700

Downloading block 4,891,209 of 4,891,478, Downloading chain structure 856,549 of 877,378

Downloading block 4,891,209 of 4,891,478, Downloading chain structure 1,496,027 of 1,514,339

Downloading block 4,893,003 of 4,893,120, Downloading chain structure 2,912 of 25,680

Downloading block 4,893,003 of 4,893,120, Downloading chain structure 16,006 of 85,842

Downloading block 4,893,003 of 4,893,120, Downloading chain structure 100,700 of 148,698

Downloading block 4,893,003 of 4,893,120, Downloading chain structure 720,084 of 819,613

Downloading block 4,893,259 of 4,893,548, Downloading chain structure 272 of 4,632

Downloading block 4,893,259 of 4,893,548, Downloading chain structure 7,876 of 78,550

Downloading block 4,893,259 of 4,893,548, Downloading chain structure 21,785 of 95,222

Downloading block 4,893,259 of 4,893,548, Downloading chain structure 105,029 of 163,823

Downloading block 4,893,259 of 4,893,548, Downloading chain structure 349,026 of 403,246

Downloading block 4,893,554 of 4,894,316, Downloading chain structure 1,266,224 of 1,269,216

Downloading block 4,894,091 of 4,894,316, Downloading chain structure 1,327,263 of 1,470,298

Downloading block 4,894,091 of 4,894,316, Downloading chain structure 1,688,757 of 1,773,823

Downloading block 4,894,091 of 4,894,316, Downloading chain structure 2,392,010 of 2,427,292

Downloading block 4,894,091 of 4,894,316, Downloading chain structure 2,467,211 of 2,501,023

Downloading block 4,895,051 of 4,895,143, Downloading chain structure 2,672,264 of 2,679,199

Downloading block 4,895,051 of 4,895,143, Downloading chain structure 2,856,587 of 2,862,684

Downloading block 4,895,051 of 4,895,143, Downloading chain structure 2,888,801 of 2,892,681

Downloading block 4,897,000 of 4,897,077, Downloading chain structure 11,213,010 of 11,246,657

cat /proc/version Linux version 4.9.0-5-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04)

top - 04:26:52 up 2 days, 3:52, 1 user, load average: 4.82, 5.52, 5.27 Tasks: 236 total, 1 running, 234 sleeping, 0 stopped, 1 zombie %Cpu(s): 3.0 us, 0.8 sy, 0.0 ni, 51.0 id, 45.0 wa, 0.0 hi, 0.3 si, 0.0 st KiB Mem : 8038116 total, 4128512 free, 2061392 used, 1848212 buff/cache KiB Swap: 1050620 total, 679172 free, 371448 used. 5554232 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26530 xxx 20 0 3735112 1.103g 18252 S 9.0 14.4 1:39.63 geth
26550 xxx 20 0 3298044 197192 14416 S 3.3 2.5 1:44.92 swarm
26485 xxx 20 0 1073788 99344 57348 S 3.0 1.2 0:32.40 mist
26438 xxx 20 0 1676308 153240 75772 S 2.0 1.9 0:39.01 mist
26490 xxx 20 0 1141564 130456 66208 S 2.0 1.6 1:16.09 mist

ainsleys commented 6 years ago

Hello @mydigitalself I had the same problems. I have found some related threads:

https://github.com/ethereum/mist/issues/2865 https://github.com/ethereum/go-ethereum/issues/15001

I should mention, I am using fast sync after deleting old chain data. I am not using light sync. Restarting the application bumps the block count along but it's been many hours and tries and have not yet synced.

Just want to say I love the Mist interface and think having a program which doesn't run in the web browser is amazing UX-wise, especially for introducing new users to smart contracts (metamask and MEW are great but have a lot of risks Mist doesn't have--- wrong links, browser malware, unclear UI for inexperienced users...). I am rooting for Mist to get become useable again!

ainsleys commented 6 years ago

So i think the problem (if there is one) was of available memory. And i do not think it has anything to do with Mist browser though I tried again using geth only and waited until I was fully synced before opening mist. Here is what I did.

I was able to successfully sync on a Macbook Pro, Sierra, 16mb ram. Steps I took: 1- free up machine from all other noncritical memory-using tasks 2- delete chaindata folder 3- fast sync using geth 4- do not open Mist browser until process is completed.

I synced before 24 h had passed.

nched commented 6 years ago

the problem is not only that it syncs pretty slow on a fast machine, but the syncing also blockes all other internet traffic. It is one of the most aggreesive p2p implementations and from a user perspective it is pretty bad practice. Many other major wallets, starting from bitcoin, implement the syncing much better. It is pretty unusable at this point, but that's why it is 0.x and not 1.x

evertonfraga commented 6 years ago

Hi, @mydigitalself thanks for your thorough emphasis on the importance of this issue.

We're fully aware of it and although blockchain syncing is done by Geth (https://github.com/ethereum/go-ethereum), we're developing a way around it, via remote nodes instead of having to do such an entire sync.

I'll find ways to communicate better what we've been working on ;)