lightning icon indicating copy to clipboard operation
lightning copied to clipboard

Giantnode invoice node takes very long to startup

Open daywalker90 opened this issue 1 month ago • 3 comments

I tried the giantnode script, which crashed at ~660k payments/invoices because my /tmp was only 32GB and i think the log files were a big part of it.

Anyways i stopped all 3 nodes and started them again and noticed that l1 and l2 started very fast, as expected, but l3 takes ~1.5 hours on a ryzen 5900x 64GB ram, nvme ssd machine to start up.

Running 9627bf9ba11c513200022e85eeb0cb7abf5e924f

daywalker90 avatar Nov 24 '25 16:11 daywalker90

l3 is taking a long time starting up for the first time on my machine with similar hardware.

$ l3-cli getinfo       
lightning_hsmd: excessive queue length (version v25.12rc1)
0x411d56 send_backtrace
        common/daemon.c:38     
0x4150a1 do_enqueue      
        common/msg_queue.c:57                       
0x4150ce msg_enqueue     
        common/msg_queue.c:73               
0x41237e daemon_conn_send
        common/daemon_conn.c:161            
0x41596a status_send    
        common/status.c:88                          
0x415b0b status_vfmt                                
        common/status.c:155                         
0x401f40 hsmd_status_fmt                            
        hsmd/hsmd.c:664                             
0x40f4d6 hsmd_handle_client_message
        hsmd/libhsmd.c:2195
0x401cc7 handle_client                              
        hsmd/hsmd.c:799                             
0x431e9e next_plan                                  
        ccan/ccan/io/io.c:60
0x432306 do_plan                                    
        ccan/ccan/io/io.c:422
0x4323b9 io_ready                                   
        ccan/ccan/io/io.c:439
0x433ccd io_loop                                    
        ccan/ccan/io/poll.c:470
0x4020ec main                                       
        hsmd/hsmd.c:884                             
0x7f95361ec5b4 ???                                  
        __libc_start_call_main+0x74:0
0x7f95361ec667 ???                                  
        __libc_start_main@@GLIBC_2.34+0x87:0
0x400a34 ???                                        
        _start+0x24:0                               
0xffffffffffffffff ???                              
        ???:0                                       

grubles avatar Nov 24 '25 18:11 grubles

See #8695

rustyrussell avatar Nov 25 '25 01:11 rustyrussell

See #8695

i don't see the giantnode script generating any addresses, is this because for every invoice it generates a fallback onchain address?

daywalker90 avatar Nov 25 '25 01:11 daywalker90