ethermint-archive icon indicating copy to clipboard operation
ethermint-archive copied to clipboard

blockchain synchronization stuck on Tendermint level while monitored by eth-net-intelligence-api

Open illya13 opened this issue 9 years ago • 9 comments

  • no errors in log
  • now new blocks propagated

illya13 avatar Sep 23 '17 07:09 illya13

@illya13 thanks for reporting the issue. Could you please provide some more context on what you did? How can one try to reproduce this?

odeke-em avatar Sep 23 '17 08:09 odeke-em

Sorry I don't have much details

  • we had 4 nodes network running for 3 months
  • then I tried to increase targetgaslimit over one of the nodes
  • broke local storage, had to clean up everything and restart
  • now this one node is syncing and periodically just stuck

Some stats:

  • total blocks: 5,837,447
  • usually stuck each 15-30 mins
  • no errors in logs

Work around: cron job to restart all 0,30 */1 * * * restart.sh

killall -9 ethermint tendermint
sleep 3
nohup ethermint --datadir .ethermint ...
tendermint node --home .ethermint/tendermint ...

illya13 avatar Sep 23 '17 08:09 illya13

  • ethermint: v0.2.0
  • tendermint: v0.10.0

illya13 avatar Sep 23 '17 08:09 illya13

Awesome, thank you for providing as much repro information as you could. I have alerted the rest of the team about this issue.

odeke-em avatar Sep 23 '17 08:09 odeke-em

All network nodes are monitored by modified eth-netstats & eth-net-intelligence-api. Question is - can modified eth-netstats monitoring affect stability of network ?

illya13 avatar Sep 26 '17 09:09 illya13

@ebuchman https://github.com/tendermint/tendermint/blob/9af837c24d2223bc98c2859dcebcb2398a2c35c2/mempool/mempool.go#L305

Can this be an issue knowing that eth-net-intelligence-api very aggressive calls Reap

illya13 avatar Sep 26 '17 10:09 illya13

@illya13 Does the eth-net-intelligence-api call directly into Reap?

adrianbrink avatar Sep 28 '17 07:09 adrianbrink

not directly, through https://github.com/tendermint/eth-net-intelligence-api/blob/master/lib/node.js#L574 and https://github.com/tendermint/tendermint/blob/9af837c24d2223bc98c2859dcebcb2398a2c35c2/rpc/core/mempool.go#L232

illya13 avatar Sep 28 '17 08:09 illya13

https://github.com/cosmos/ethermint

zramsay avatar Jul 11 '18 18:07 zramsay