lightning
lightning copied to clipboard
`connectd` consistently taking 100% cpu
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
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.
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).
Hmm,
perf reportwould be more useful. Even better would be to attach withgdband use thebtcommand to get a backtrace (assuming it's in the troubling part).
I sent you privately the perf.data file