-
Notifications
You must be signed in to change notification settings - Fork 904
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
v24.08 JSON-RPC calls are 10x slower vs v24.05 #7637
Comments
Update. 24.08 also does not shutdown cleanly and causes Ubutnu to hang on shutdown. In short: a disaster release!
Rolling back to 24.05 is not possible:
|
Update 2. After unsuccessfully rolling back to 24.05, I installed 24.08 again with this command (as before):
RPC calls are now fast again! Nothing else changed, compare this: Before reinstall: After reinstall: I do not know what to make of it or if the problem will return in the future. |
Just adding a bit of data: on a medium sized node, |
how long does this take? |
That takes 6m46s. |
horrible. could you also try this please? It would be nice if the last 6 months of HTLCs were loading faster. But, unfortunately, such a query fails in glightning! |
Well, Without profiling, it's hard to know where it's going wrong, or why it's now "fixed". If it happens again, see if something is consuming a strange amount of CPU time? If something is flooding lightningd, it could get backed up... |
Closing for now since no reproduce... |
Wait, are you saying SQL query "SELECT * FROM htlcs WHERE payment_hash=x'payment_hash'" will also take 6+ minutes to run? This is just unacceptable! My code relies on this query being fast.
ETA? |
I have a testnode with only 3 channels and 5 rebalances between two of them. Calling
listhtlcs
in a loop for each channel used to take 200 ms, now 2 sec. I have to do this every time user refreshes to track balance changes. This was too slow already, now completely unsustainable for a production node.listhtlcs
cannot be polled incrementally likelistforwards
, and there are no hooks or subscriptions to monitor sent payments without invoices. I am stuck ((I don't ask to poll the database faster, I ask for subscription to outbound HTLCs event.
Edit: I use glightning in Go. All API endpoints seem very slow, so actually I do ask to fix that.
getinfo
output24.08
Ubuntu-22.04
The text was updated successfully, but these errors were encountered: