You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're working on running against bitcoind backends for various reasons, and are noticing a pretty severe memory leak when running against bitcoind with rpcpolling.
I've ensured we're running bitcoin 25 (following discussion around this PR).
I've tried running a slow polling frequency (1 minute) and the leak is just slower with the longer duration. I haven't dug too deeply into the code to debug but it feels like it's just not cleaning up connections after each request.
I'll have to do some digging to get a profile if you need it, but @alexbosworth mentioned this is a (kind of) known issue and to just ping you here.
Your environment
version of lnd: 0.17.3
which operating system (uname -a on *Nix): Linux 00ea31e9-92e7-433e-a41f-032e4267b9aan-7c975b685c-lgsfk 5.4.253-167.359.amzn2.aarch64 Fix name typo in README #1 SMP Tue Aug 15 21:40:30 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
version of btcd, bitcoind, or other backend: bitcoind 25.1
Background
We're working on running against bitcoind backends for various reasons, and are noticing a pretty severe memory leak when running against bitcoind with rpcpolling.
I've ensured we're running bitcoin 25 (following discussion around this PR).
I've tried running a slow polling frequency (1 minute) and the leak is just slower with the longer duration. I haven't dug too deeply into the code to debug but it feels like it's just not cleaning up connections after each request.
I'll have to do some digging to get a profile if you need it, but @alexbosworth mentioned this is a (kind of) known issue and to just ping you here.
Your environment
version of
lnd: 0.17.3which operating system (
uname -aon *Nix): Linux 00ea31e9-92e7-433e-a41f-032e4267b9aan-7c975b685c-lgsfk 5.4.253-167.359.amzn2.aarch64 Fix name typo in README #1 SMP Tue Aug 15 21:40:30 UTC 2023 aarch64 aarch64 aarch64 GNU/Linuxversion of
btcd,bitcoind, or other backend: bitcoind 25.1any other relevant environment details
Steps to reproduce
Expected behaviour
Memory consumption should be stable.
Actual behaviour