unexplainable slow startup pause #8176
-
Hi there, first things first, the setup:
Since quite a while ago (I can't really tell when this started to show up), I've experienced longer startup times. As far as I can remember this wasn't an issue with bbolt db and also on a new node with PostgreSQL (at least in the beginning). There is an unexplainable pause of 4 and a half-something minutes visible in lnd.log that seems off to me:
I captured two pprof goroutine dumps ( Thanks in advance for any hints on how to make restarts fast again. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 19 replies
-
Probably related issue: #6646 |
Beta Was this translation helpful? Give feedback.
-
I could pin it down to wtclient. |
Beta Was this translation helpful? Give feedback.
-
Did some more tests. The pause reappears while a watchtower is actively connected.
|
Beta Was this translation helpful? Give feedback.
-
Hi @blckbx - just letting you know that #8222 has been merged. So once that is included in a release then: when you start LND with wtclient active, the very very first time your startup, it will be just as slow since it is now doing a migration to make the slow query fast in future. Then once that first start up is over, any start up after that should be much much faster again |
Beta Was this translation helpful? Give feedback.
Hi @blckbx - just letting you know that #8222 has been merged. So once that is included in a release then: when you start LND with wtclient active, the very very first time your startup, it will be just as slow since it is now doing a migration to make the slow query fast in future. Then once that first start up is over, any start up after that should be much much faster again