Geth1.12.0全节点同步导致服务器卡死

Geth1.12.0运行一段时间后(一般是两三天),内存使用量会急剧增加直到服务器卡死, 只能重新启动服务器。

服务器配置 16 CPU, 20G RAM, 10T SSD

执行命令 ./geth --mainnet --syncmode full --gcmode archive --maxpeers 200 --cache 10000 console

周四开始跑的,今天又挂了,这次服务器没卡死; 没有相关错误日志,就只有一个: Kill. 我每分钟收集一下资源消耗,最后三次的资源消耗统计:

##########
    PID    PPID CMD                           RSS %MEM %CPU
   4257    1109 ./geth --mainnet --syncmode 24174088 75.4 104
   1235    1215 ./prysm.sh --execution-endp 4723632 14.7 19.5
##########
    PID    PPID CMD                           RSS %MEM %CPU
   4257    1109 ./geth --mainnet --syncmode 24393220 76.1 104
   1235    1215 ./prysm.sh --execution-endp 4756564 14.8 19.5
##########
    PID    PPID CMD                           RSS %MEM %CPU
   4257    1109 ./geth --mainnet --syncmode 24608852 76.8 104
   1235    1215 ./prysm.sh --execution-endp 4882016 15.2 19.5
请先 登录 后评论

1 个回答

Tiny熊 - 布道者
  擅长:智能合约,以太坊
请先 登录 后评论