-
Notifications
You must be signed in to change notification settings - Fork 158
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
CLNRest
high CPU usage
#1443
Comments
I tried the steps you provided above with CLN v23.11.2, RTL v0.15.2-beta & Ubuntu 22.04. But my CPU usage for Could you please confirm how much CPU usage clnrest takes when you login to RTL? Does your node have huge number of invoices/forwards/payments etc? |
Can you also confirm your Core lightning's |
This node is running for few years. I don't know what huge means, but there is ~10K failed forwards and pays.
The log level is the default one. It's not set in the config. |
The default log level is set to info, which minimizes the amount of logging from clnrest. Additionally, I created a new node with 6K invoices, 6K payments, 8K forwards & 10K local_failed forwards to test CPU usage. During testing, the CPU usage peaked at only 3% when loading the RTL dashboard. All other pages showed even lower CPU usage. Running autoclean-once on failed forwards and payments might improve the node’s performance slightly. What is your system configuration? |
You mean hardware wise? It's a dual core x64 PC, with 8GB memory. The only think that I think could be related is the remote backup I have, which also use high CPU when logging in to RTL. |
* Fix `Unknown command` error when disabling offers on CLN. ([#1443]) (#1451) * Add missing SSO options to config (#1455) * Fix for cln logic screen navigation (#1457) * Transactions destination address display fix (#1458) * cln delexpiredinvoices deprecation fix (#1459) * Read LN_IMPLEMENTATION from environment (#1460) * Add Fee Rate Information on Send Funds Modal (#1461) * Artifact script fix (#1464) * Add AMP toggle for LND Send Payments (#1466) --------- Co-authored-by: Se7enZ <[email protected]>
Describe the bug
When using
RTL
withCLNRest
, theCLNRest
's python process is using a lot of CPU, after login toRTL
.This high CPU usage didn't happen with
c-lightning-REST
.To Reproduce
Steps to reproduce the behavior:
Your environment
RTL
: v0.15.2-betacore lightning
: 23.11.2bitcoind
: 26.2uname -a
on *Nix): Ubuntu 20.04The text was updated successfully, but these errors were encountered: