tendermint: memory leak

Tendermint version (use tendermint version or git rev-parse --verify HEAD if installed from source): 0.20

ABCI app (name for built-in, URL for self-written if it’s publicly available): mideaBill

Environment:

  • OS linux
  • Install tools: docker
  • Others:

What happened: linux memory goes up to 100%

Have you tried the latest version: yes/no no

How to reproduce it (as minimally and precisely as possible):

Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file):

759.42MB 96.61% 96.61% 759.92MB 96.67% github.com/tendermint/tendermint/libs/pubsub/query.(*QueryParser).Init /home/bill/gopath/src/github.com/tendermint/tendermint/libs/pubsub/query/query.peg.go

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

Sorry. I forgot to update the permission. Please try again.

I’ve uploaded to Google Drive just in case.

https://drive.google.com/open?id=1nIegalq80Q27ddR1uWf2hqUfZ3YKndB1

https://drive.google.com/open?id=1vk-qoVQcNoObHwYeOdyhDg95DCuuYS03

I think this is related. https://github.com/cosmos/gaia/issues/160

Not sure if it is a memory leak but it uses a lot of memory. This happens when gaiad starts and connects peers the first time and it uses around 2.4G or memory. After restart, it uses less then 300M for a long time. I have prepared the memory profiles before and after restarting gaiad.

https://storage.cloud.google.com/cosmoshub-data-backup/before-restart.mprof https://storage.cloud.google.com/cosmoshub-data-backup/after-restart.mprof

mem-prof-before-after.pdf