Musicoin / go-musicoin

:link: Go-version of Musicoin blockchain wallet and consensus
GNU Lesser General Public License v3.0
161 stars 57 forks source link

gmc crashing from time to time #22

Closed feeleep75 closed 7 years ago

feeleep75 commented 7 years ago

Here is part of the log file: https://pastebin.com/StytEDtQ

immartian commented 7 years ago

are you mining? If so, please remove .ethash folder at your home directory and try again.

feeleep75 commented 7 years ago

I am pool owner so yes. I will remove all files from there and let you know how it works. Another question/issue - why it takes so long to start connecting to peers?

I0621 13:22:15.926096 eth/backend.go:172] Protocol Versions: [63 62], Network Id: 7762959
I0621 13:22:15.946151 eth/backend.go:201] Blockchain DB Version: 3
I0621 13:22:16.046358 core/blockchain.go:214] Last header: #636708 [3c8aed86…] TD=1124447144141577943
I0621 13:22:16.046386 core/blockchain.go:215] Last block: #636708 [3c8aed86…] TD=1124447144141577943
I0621 13:22:16.046396 core/blockchain.go:216] Fast block: #636708 [3c8aed86…] TD=1124447144141577943
I0621 13:22:16.088216 p2p/server.go:313] Starting Server
I0621 13:22:16.542803 p2p/discover/udp.go:217] Listening, enode://f9ea1deb747043f60f9192fe07555a6bc5816487b0afd04c237f9e0290f1274d5475fc278cf9c77a78f3525b4b4f6ca09ed8b16459c172860049427285a4c07d@[::]:10303
I0621 13:22:16.543062 p2p/server.go:556] Listening on [::]:10303
I0621 13:22:16.561888 node/node.go:296] IPC endpoint opened: /pool/.musicoin/geth.ipc
I0621 13:22:16.561999 node/node.go:366] HTTP endpoint opened: http://127.0.0.1:18545
I0621 13:22:20.606330 miner/miner.go:119] Starting mining operation (CPU=0 TOT=1)
I0621 13:22:20.606729 miner/worker.go:539] commit new work on block 636709 with 0 txs & 0 uncles. Took 372.573µs
I0621 13:22:20.715839 cmd/gmc/accountcmd.go:189] Unlocked account xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I0621 13:29:16.543157 eth/downloader/downloader.go:319] Block synchronisation started
I0621 13:29:16.543256 miner/miner.go:75] Mining operation aborted due to sync operation
I0621 13:29:16.628877 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:16.829949 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:17.030787 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:17.231723 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:17.432651 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:17.633600 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:17.750957 core/blockchain.go:1001] imported 2 block(s) (0 queued 0 ignored) including 31 txs in 1.198852583s. #636710 [4a0f1f80 / ac2e63c5]
I0621 13:29:17.844890 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:18.035593 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:18.045863 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:18.246723 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:18.447735 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:18.648539 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:18.849361 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:19.050219 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:19.251108 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:19.452081 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:19.652908 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:19.853847 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:20.054640 miner/miner.go:109] Can not start mining operation due to network sync (starts when finished)
I0621 13:29:20.179518 core/blockchain.go:1001] imported 22 block(s) (0 queued 0 ignored) including 402 txs in 2.428276599s. #636732 [069f9ac6 / 3be52bbb]
I0621 13:29:20.179589 miner/miner.go:119] Starting mining operation (CPU=0 TOT=1)
I0621 13:29:20.179925 miner/worker.go:539] commit new work on block 636733 with 0 txs & 0 uncles. Took 315.804µs
I0621 13:29:20.180058 miner/worker.go:539] commit new work on block 636733 with 0 txs & 0 uncles. Took 112.36µs
I0621 13:29:26.801173 core/blockchain.go:1001] imported 1 block(s) (0 queued 0 ignored) including 0 txs in 3.933033ms. #636733 [67492526 / 67492526]
I0621 13:29:26.803101 miner/worker.go:539] commit new work on block 636734 with 5 txs & 0 uncles. Took 1.798614ms
immartian commented 7 years ago

The peers discovery needs some manual works to bootstrap. Please refer to https://github.com/Musicoin/go-musicoin/wiki/Boostrap-enodes to add enodes manually.

feeleep75 commented 7 years ago

ok, but i believe this would not be an issue if it runs stable :) I removed all files from .ethash but still the same problem with crashing

immartian commented 7 years ago

can you provide more information of your working machine? OS, configuration, etc.

feeleep75 commented 7 years ago

its dedicated server Xeon E3-1245 v5, 32 GB RAM, Ubuntu 14.04

immartian commented 7 years ago

How about now? We didn't get much more report on same issue though. Close for now.