mac 0.6.1,挖矿程序一直在进行,cpu占用也很高,日志也没看出来异常,一直都是下面的日志:
2020-08-11T23:52:44.423080+08:00 INFO IO Worker #0 cfxcore::syn - Catch-up mode: false, latest epoch: 2260021
2020-08-11T23:52:45.443652+08:00 INFO IO Worker #2 cfxcore::syn - Catch-up mode: false, latest epoch: 2260021
2020-08-11T23:52:46.445535+08:00 INFO IO Worker #1 cfxcore::syn - Catch-up mode: false, latest epoch: 2260021
2020-08-11T23:52:47.447072+08:00 INFO IO Worker #2 cfxcore::syn - Catch-up mode: false, latest epoch: 2260021
2020-08-11T23:52:48.459977+08:00 INFO IO Worker #2 cfxcore::syn - Catch-up mode: false, latest epoch: 2260021
2020-08-11T23:52:49.260374+08:00 INFO IO Worker #2 cfxcore::sta - Statistics: StatisticsInner { sync_graph: SyncGraphStatistics { inserted_block_count: 562707, inserted_header_count: 563251 }, consensus_graph: ConsensusGraphStatistics { inserted_block_count: 190048, activated_block_count: 253255, processed_block_count: 253902 } }
2020-08-11T23:52:49.465416+08:00 INFO IO Worker #0 cfxcore::syn - Catch-up mode: false, latest epoch: 2260021
2020-08-11T23:52:50.470095+08:00 INFO IO Worker #1 cfxcore::syn - Catch-up mode: false, latest epoch: 2260021
2020-08-11T23:52:51.382196+08:00 INFO IO Worker #1 cfxcore::syn - Catch-up mode: false, latest epoch: 2260021
偶尔对比了下高度,发现早就到 2450000 以上了,说明从 2260021 以后就没有再出块了,后面都是假象。赶紧看错误日志,发现:
thread 'Consensus Execution Worker' panicked at 'No db error: Error(SqliteError(Error { code: Some(14), message: Some("unable to open database file") }), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })', core/src/consensus/consensus_inner/consensus_executor.rs:972:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'mining' panicked at 'Cannot fail: "SendError(..)"', core/src/consensus/consensus_inner/consensus_executor.rs:305:13
thread 'Consensus Worker' panicked at 'Cannot fail: "SendError(..)"', core/src/consensus/consensus_inner/consensus_executor.rs:305:13
不知道是什么原因,杀掉重启貌似正常了,白跑了2天。。。