Closed thevops closed 6 months ago
Hey @thevops! Thanks for this report!
We investigated that issue and executed some profiling. We detected a goroutine leak in the GetLatestBlockHeight
function of our Electrum client implementation (specifically, in the go-electrum
's SubscribeHeaders
function used under the hood) that is periodically called from within the client info module (metrics and diagnostics):
We opened the following PRs that should fix the problem:
Once they are merged, this issue will close automatically. Feel free to re-open if the problem persists.
I've noticed that my nodes take more and more memory over time.
Please, take a look at the chart below. It shows 120 days back to now. A memory unit is MiB.![image](https://github.com/keep-network/keep-core/assets/23660445/8aa33909-3567-4172-b4fc-7b669a8c0e70)
Restarts, including version upgrades, cause spikes (eg. 09/21 = 21 Sep).