-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug]: Why is listpayments so slow? #9069
Comments
Update: excluding incomplete made my node unresponsive for 20 minutes and restarted LND!!!
Nothing in LND log, just a restart after 16 minutes:
Syslog:
|
Hi @Impa10r what database do you have for LND? Is it regular bbolt (which is the default) or are you running postgres/sqlite? |
regular bolt, DB Size: 1.834 GB Total States Updates: 7,712,708 |
Will close #9015 in favor of this, as it's a bit more detailed. |
Update 2: my testnet node with LND 0.18.0 does not suffer from this:
channel.db size 70mb |
If you can obtain a CPU profile of a sample run and post the |
Mine runs in docker, not sure how to start it like that (( |
How do you spin up your docker container? You can forward a port on your host machine to a port inside the container using something like: docker run -p 9736:9736 my-lnd-container Then the Ahh, I've never used Umbrel, but looks like there's some information on how to modify |
@Roasbeef taken while |
I used |
Background
I have only 209 payments, but it takes 43 seconds to list them:
For comparison, pulling 349,464 of forwards takes less than a second:
Your environment
lnd
0.18.0uname -a
on *Nix) Umbrel 0.54 debianbtcd
,bitcoind
, or other backend bitcoind 27.0.0The text was updated successfully, but these errors were encountered: