Skip to content
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

connectd consistently taking 100% cpu #7757

Closed
JssDWt opened this issue Oct 21, 2024 · 2 comments · Fixed by #7767
Closed

connectd consistently taking 100% cpu #7757

JssDWt opened this issue Oct 21, 2024 · 2 comments · Fixed by #7767
Assignees
Milestone

Comments

@JssDWt
Copy link
Contributor

JssDWt commented Oct 21, 2024

Issue and Steps to Reproduce

connectd is consistently taking 100% cpu. It causes regular disconnects to peers. These disconnects happen because pings are not returned in time, causing the peer to disconnect.

Here's a snapshot of the connectd process captured with perf
perf

The CPU consumption happened with cln 24.02.1. It still occurs with cln v24.08.1. This perf trace is from v24.08.1.

@rustyrussell rustyrussell added this to the v24.11 milestone Oct 21, 2024
@rustyrussell rustyrussell self-assigned this Oct 21, 2024
@rustyrussell
Copy link
Contributor

Hmm, perf report would be more useful. Even better would be to attach with gdb and use the bt command to get a backtrace (assuming it's in the troubling part).

@yaslama
Copy link
Contributor

yaslama commented Oct 22, 2024

Hmm, perf report would be more useful. Even better would be to attach with gdb and use the bt command to get a backtrace (assuming it's in the troubling part).

I sent you privately the perf.data file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants