【发布时间】:2018-11-08 10:52:17
【问题描述】:
我在使用 ethereum 节点 (Geth) 时经常遇到内存泄漏的问题。我无法理解原因,问题出现在一个不确定的时间点。服务器可以工作一周,有时需要一天才能中断。 我们在本地网络开发: "chainId": 15
我的genesis.json
{
"config": {
"chainId": 15,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
},
"difficulty": "0x400",
"gasLimit": "0x2100000",
"alloc": {
"7a69b359e86893efa3d9732e4c65ced51567edd0":
{ "balance": "0x1337000000000000000000" }
}}
服务器端:4x cpu/8GB 内存/Ubuntu 18.04 x64
运行命令:
geth --rpcapi personal,web3,eth --mine --minerthreads 4 --rpccorsdomain '0.0.0.0:5000' --rpc --networkid 1999 --datadir ./ --rpcvhosts 127.0.0.1 --port 30304 --rpcport 8546 --rpcaddr 0.0.0.0
Go 1.11.1 版
Geth 版本 1.8.17-stable-8bbe7207
【问题讨论】:
标签: memory-leaks out-of-memory ethereum go-ethereum geth