OOM geth crash - sync stops at 2% and Ether no showing
System information
Version: `0.8.9`
OS & Version: windows 7
Node type: `eth/geth(default)` .1.5.9 (Go)
Downloaded the latest version. but I never saw my ether yet. It seems it is not syncornizig with my account.
see screenshots for configuration
Transaction succesfully done on:
- Check the console, of Mist (
CTRL/CMD + ALT + i) and take a screenshot : I don't know what that mean.
sync seems to be stopped at 2% for ever, I let more than 24 hours and nothing. I tried to remove the Chaindata folder and launch again Ethereum Wallet for fast sync, but it also stops at 2%.
Seems that there is a memory error in the log files from node but I don't know what to do with that. node.log.zip
HOw to find my Ethers? Please help
Thanks
I would like to know the answer to. I seem to have the same problem. Endless waiting for sync, never getting further then 2%. Also have some ether that have been bought for this wallet.
Same problem here. Progress seems stuck at 1% after 1 hour, but number of blocks is very slowly decreasing. All accounts show 0 ETH. Very disturbing. Why doesn't the program have a "fast update" or "reconnect" button of some sorts. Functionality is so minimal, you could call it negative
Same problem here... Always stops at 1% or 2%...
@tamtamtom apparently your computer ran out of memory (OOM) and geth crashed as the logs indicate:
[...]
I0304 08:18:08.873515 eth/downloader/downloader.go:966] imported 384 state entries in 8.000ms: processed 138464, pending at least 132778
I0304 08:18:09.033524 eth/downloader/downloader.go:966] imported 384 state entries in 24.001ms: processed 138848, pending at least 132848
I0304 08:18:09.045525 eth/downloader/downloader.go:966] imported 384 state entries in 11.000ms: processed 139232, pending at least 132535
I0304 08:18:09.129530 core/blockchain.go:805] imported 488 receipts in 113.006ms. #91995 [85f1b9a0… / dad6e223…]
I0304 08:18:09.140530 core/headerchain.go:342] imported 768 headers in 346.019ms. #94080 [fe34b35f… / 490edcfd…]
runtime: out of memory: cannot allocate 268435456-byte block (771424256 in use)
fatal error: out of memory
runtime stack:
runtime.throw(0xd30bbb, 0xd)
C:/go/src/runtime/panic.go:566 +0x7f
runtime.largeAlloc(0x10000000, 0x464101, 0x52b0ea00)
C:/go/src/runtime/malloc.go:776 +0xb7
runtime.mallocgc.func1()
C:/go/src/runtime/malloc.go:669 +0x31
runtime.systemstack(0x1f220a00)
C:/go/src/runtime/asm_386.s:323 +0x5e
runtime.mstart()
C:/go/src/runtime/proc.go:1079
[...]
Though Mist should be able to handle backend error like this more graciously and/or give better user feedback.
I'm having the same problem using the official wallet software for Windows from https://www.ethereum.org/ (Win32, v0.8.9) running on Windows 8.1 64bit.
I'm stuck at 2%. Deleting the chaindata-folder did not help. It starts and works ok-fast until 2%, then stops. Is this a current issue across several platforms?
To calm you down, in the worst case you can always import you private key files to https://www.myetherwallet.com, if you need to access you funds.
Though the syncing issue in the latest versions seems problematic.
Please try deactivating your firewall, if this doesn't help, download a previous version of geth like https://github.com/ethereum/go-ethereum/releases/tag/v1.5.0 Run it from within the
cmd.exeand then start mist afterwards
EDITED BY @obscuren: Do NOT do this. 1.5.0 does not contain hard forked code.
How much memory does your machine have? Are you running 32bit or 64bit version? How much cache does Mist set by default?
@frozeman Looking at the Mist code https://github.com/ethereum/mist/blob/59b918ff08affbe90ff6531dc916eb7a0092a1fc/modules/ethereumNode.js#L362, you start Geth with a database cache allowance of 1024MB. If a machine doesn't have 2GB RAM at least, it will go OOM. Also if you run this on a 32bit machine, it will go OOM as it will exceed the 32bit address space.
@tamtamtom @MattMensa please run geth.exe separate and see if it synced, then
my machine is windows 7 64bits with 6GB RAM. @frozeman : what do you mean by "run geth.exe separate"??
Download it here and run it before you start mist ~~https://github.com/ethereum/go-ethereum/releases/tag/v1.5.0~~ https://github.com/ethereum/go-ethereum/releases (edited, as @karalabe pointed out)
@frozeman Thank you very much for your fast an detailed reply.
How much memory does your machine have? Are you running 32bit or 64bit version? How much cache does Mist set by default?
16 GB RAM Windows 8.1 64bit but running the 32bit version of the wallet. Should I use the 64 bit version?
please run geth.exe separate and see if it synced, then
..then what? :-) I'm running now the geth.exe from the Ethereum Appdata-Folder. What information should I supply here when geth.exe is running? I see that it regularly adds new imported blocks.. There is no progress bar though.
Please run the 64bit version of the wallet, yes.
And please stick to the latest Geth release, the one recommended by @frozeman doesn't contain the latest fork logic, so it's not compatible with mainnet.
Yes run the 64 bit version. When you see that it adds new block it synced, but you might want to delete the "chaindata" (only!) from the AppData/Ethereum folder and start geth.exe again, then let it sync through. You can see the blocknumber in the logged lined on the right, or start mist after to see the progress bar.
If you run geth on it's own, please specify --fast --cache=512 as cli flags too
First try: I deleted the chaindata folder I run the 64 bit version -> It starts syncing but stops pretty fast, now at 0%
Second try: Deleted the chaindata folder again Made a shortcut to the geth.exe. Added the cli flags (fast, cache=512) Started geth -> worked for about 10 minutes and created a chaindata folder with the size of around 1.2GB. Then the geth window suddenly closed itself Started now the 64 bit version again (no deleting of chaindata folder) -> is now stuck @ 2,550,88 blocks left (0%) with 2 peers (not updating)
I did not change to the geth version recommended by @frozeman
Edit: I imported my JSON-File to https://www.myetherwallet.com/ At least I have access now :+1: Thank you for the hint @frozeman
Can you please start "cmd.exe" first from your windows, then navigate to the geth.exe using cd my path/to/geth/
Then post the logs when the node crashes, otherwise we can't tell whats the issue.
Then post the logs when the node crashes, otherwise we can't tell whats the issue.
Could you please specify which log-files you need for the crashing geth.exe and where they are likely to be stored? I added a zip-file of the C:\Users\user\AppData\Roaming\Ethereum\geth\nodes folder content which includes a log-file with a final time stamp matching to when the windows closed itself. nodes.zip
No thats not it, the log will be shown in you command prompt when you start the node from within cmd.exe