lightning icon indicating copy to clipboard operation
lightning copied to clipboard

`connectd` consistently taking 100% cpu

Open JssDWt opened this issue 1 year ago • 2 comments
trafficstars

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.

JssDWt avatar Oct 21 '24 10:10 JssDWt

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).

rustyrussell avatar Oct 21 '24 22:10 rustyrussell

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

yaslama avatar Oct 22 '24 08:10 yaslama