iost-official / go-iost

Official Go implementation of the IOST blockchain
https://developers.iost.io/
GNU Lesser General Public License v3.0
565 stars 112 forks source link

同步测试网节点数据出错 #1106

Open liuxh-go opened 5 years ago

liuxh-go commented 5 years ago

同步到区块号为3543835的区块时,发生了以下报错:err: receipt not match, status not same: &{4 out of gas} != &{5 running action Action{Contract: Contract3G8xoUyZ39X63c7ZJYs4ffJRbJSYQr82EVuTV5h46nHK, ActionName: reveal, Data: ["1... error: execution killed} 。 该如何处理这个问题?

lileicool1 commented 5 years ago

同步到区块号为3543835的区块时,发生了以下报错:err: receipt not match, status not same: &{4 out of gas} != &{5 running action Action{Contract: Contract3G8xoUyZ39X63c7ZJYs4ffJRbJSYQr82EVuTV5h46nHK, ActionName: reveal, Data: ["1... error: execution killed} 。 该如何处理这个问题?

版本要使用最新的v3.2.0,服务器建议使用8核CPU,16G内存,问题可能是你的服务器配置不达标导致的

liuxh-go commented 5 years ago

报错的信息是里面的交易有问题,不是机器配置的问题

liuxh-go commented 5 years ago

master分支上的代码不是最新的吗?需要用v3.2.0分支的代码运行?

lileicool1 commented 5 years ago

报错的信息是里面的交易有问题,不是机器配置的问题

execution killed 意思是你执行交易的时候超时了,如果频繁出现这个错误,就是因为验证节点的服务器配置低

master分支上的代码不是最新的吗?需要用v3.2.0分支的代码运行?

需要使用release版本

liuxh-go commented 5 years ago

是对服务器配置有硬性要求吗?我看cpu和内存的消耗都不高。 正式网的节点一个都同步不下来,报错Warn 2019-08-21 13:49:22.483 peer_manager.go:544 create stream failed. pid=12D3KooWPkrD6gydcXAhq2NtF8LqqjRAsmnLvrP1vNb9tJckbBkv, err=dial attempt failed: <peer.ID 12P8HWez> --> <peer.ID 12ckbBkv> dial attempt failed: context deadline exceeded Warn 2019-08-21 13:49:25.503 peer.go:173 read header failed. err=stream reset Warn 2019-08-21 13:49:29.647 peer_manager.go:544 create stream failed. pid=12D3KooWKhuivDSnx2T9wFhH9vpZaqsuqhdj5G6sQTJgWo51gugG, err=dial attempt failed: <peer.ID 12P8HWez> --> <peer.ID 1251gugG> dial attempt failed: context deadline exceeded

lileicool1 commented 5 years ago

是对服务器配置有硬性要求吗?我看cpu和内存的消耗都不高。 正式网的节点一个都同步不下来,报错Warn 2019-08-21 13:49:22.483 peer_manager.go:544 create stream failed. pid=12D3KooWPkrD6gydcXAhq2NtF8LqqjRAsmnLvrP1vNb9tJckbBkv, err=dial attempt failed: <peer.ID 12_P8HWez> --> <peer.ID 12_ckbBkv> dial attempt failed: context deadline exceeded Warn 2019-08-21 13:49:25.503 peer.go:173 read header failed. err=stream reset Warn 2019-08-21 13:49:29.647 peer_manager.go:544 create stream failed. pid=12D3KooWKhuivDSnx2T9wFhH9vpZaqsuqhdj5G6sQTJgWo51gugG, err=dial attempt failed: <peer.ID 12_P8HWez> --> <peer.ID 12_51gugG> dial attempt failed: context deadline exceeded

这个信息可以忽略,不影响你的数据同步,节点服务器有配置要求

liuxh-go commented 5 years ago

必须要8核16G才能同步数据吗?我的配置是4核8G+200G的硬盘

lileicool1 commented 5 years ago

必须要8核16G才能同步数据吗?我的配置是4核8G+200G的硬盘

必须8核16G

liuxh-go commented 5 years ago

好的,我更换配置重新测试下

qyvlik commented 5 years ago

@wshhz 必须要 SSD 硬盘,配置 8CPU16G 应该就差不多了,主要是要 SSD 硬盘。 https://blog.csdn.net/qyvlik/article/details/88820144

iost-node 同步区块日志报 execution kill,可能原因是磁盘不是 SSD 或者 CPU 频率比较低,升级磁盘到 SSD 或者 CPU 规格。