ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.85k stars 902 forks source link

lightningd: io_break: lightningd_exit #5773

Open grubles opened 1 year ago

grubles commented 1 year ago

My exceptionally slow (now running v22.11) node seems to have triggered another timeout. This time I suspect IO is getting hammered due to an unfortunately timed RAID sync check: [709801.449688] md: data-check of RAID array md0

2022-12-04T22:44:48.365Z INFO    plugin-pay: Killing plugin: exited during normal operation                                                                                                   
2022-12-04T22:44:48.366Z **BROKEN** plugin-pay: Plugin marked as important, shutting down lightningd!                                                                                         
2022-12-04T22:44:48.366Z DEBUG   lightningd: io_break: lightningd_exit                                                                                                                        
2022-12-04T22:44:48.366Z DEBUG   lightningd: io_loop_with_timers: main
rustyrussell commented 1 year ago

From this, the pay plugin just exited. Without knowing why, it's hard to debug: lightningd shut down because it considers the pay plugin to be critical.

grubles commented 1 year ago

Hmm I wasn't paying an invoice myself, so I suspect CLBOSS decided to fire off a swap attempt. listpays shows an invoice that is still pending from a couple hours prior to the node shutting itself down.

rustyrussell commented 1 year ago

It shouldn't exit even if it's upset! It might have spewed something to stderr?

grubles commented 1 year ago

Nothing was printed to stderr. :-/